Skip to content

Commit 8681e05

Browse files
committed
update
1 parent cf1d7d5 commit 8681e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/gen_screen_bindings_app.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ final _interpolator = TemplateInterpolator<ClassInsight<GenerateScreenBindings>>
459459
if (params.isNotEmpty) {
460460
final a = params.map((e) {
461461
final fieldName = e.fieldPath!.join('_').toCamelCase();
462-
return 'if ($fieldName != null) $fieldName: $fieldName,';
462+
return "if ($fieldName != null) '$fieldName': $fieldName,";
463463
}).toList()
464464
..sort();
465465
return a.isNotEmpty ? a.join('\n') : '';

0 commit comments

Comments
 (0)