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 5ac231e commit 063ad38Copy full SHA for 063ad38
packages/brick_supabase_generators/lib/src/supabase_serialize.dart
@@ -74,11 +74,12 @@ class SupabaseSerialize extends SupabaseSerdesGenerator
74
75
if (checker.toJsonMethod != null) {
76
return checker.toJsonMethod!.returnType
77
- .getDisplayString(withNullability: false)
+ .getDisplayString()
78
+ .replaceAll('?', '')
79
.replaceAll(typeRemover, '');
80
}
81
82
// remove arg types as they can't be declared in final fields
- return type.getDisplayString(withNullability: false).replaceAll(typeRemover, '');
83
+ return type.getDisplayString().replaceAll('?', '').replaceAll(typeRemover, '');
84
85
0 commit comments