Skip to content

Commit 6475fe0

Browse files
authored
chore: fix for latest analyzer (#382)
1 parent 1cae9c9 commit 6475fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions_framework_builder/lib/src/valid_json_utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ JsonReturnKind validJsonReturnType(DartType type) {
9494
}
9595

9696
JsonReturnKind _validJsonReturnTypeCore(DartType type) {
97-
if (type.isVoid) {
97+
if (type is VoidType) {
9898
return JsonReturnKind.isVoid;
9999
}
100100

0 commit comments

Comments
 (0)