copyWithConstructorDeclaration method
Implementation
String copyWithConstructorDeclaration() {
if (isNullable) {
return 'Optional<$type?>? $name';
} else {
return '$type? $name';
}
}
String copyWithConstructorDeclaration() {
if (isNullable) {
return 'Optional<$type?>? $name';
} else {
return '$type? $name';
}
}