Index: pkg/analysis_server/lib/src/services/correction/assist_internal.dart |
diff --git a/pkg/analysis_server/lib/src/services/correction/assist_internal.dart b/pkg/analysis_server/lib/src/services/correction/assist_internal.dart |
index 00c48a340a3ea823b85506805fdb56cde9114d8e..196eb53bca21f170d4ddc30e823f5c78e5c38953 100644 |
--- a/pkg/analysis_server/lib/src/services/correction/assist_internal.dart |
+++ b/pkg/analysis_server/lib/src/services/correction/assist_internal.dart |
@@ -962,7 +962,7 @@ class AssistProcessor { |
variableList.type != null ? _getNodeText(variableList.type) + ' ' : ''; |
String getterCode = '$eol2 ${typeNameCode}get $name => _$name;'; |
String setterCode = '$eol2' |
- ' void set $name(${typeNameCode}$name) {$eol' |
+ ' void set $name($typeNameCode$name) {$eol' |
' _$name = $name;$eol' |
' }'; |
_addInsertEdit(fieldDeclaration.end, getterCode + setterCode); |