We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cae9c9 commit 6475fe0Copy full SHA for 6475fe0
functions_framework_builder/lib/src/valid_json_utils.dart
@@ -94,7 +94,7 @@ JsonReturnKind validJsonReturnType(DartType type) {
94
}
95
96
JsonReturnKind _validJsonReturnTypeCore(DartType type) {
97
- if (type.isVoid) {
+ if (type is VoidType) {
98
return JsonReturnKind.isVoid;
99
100
0 commit comments