thisIfNeeded method
Adds an this.
prefix is the dartGetterName is in locals
.
Implementation
String thisIfNeeded(Set<String> locals) {
if (locals.contains(dartGetterName)) {
return 'this.$dartGetterName';
}
return dartGetterName;
}
Adds an this.
prefix is the dartGetterName is in locals
.
String thisIfNeeded(Set<String> locals) {
if (locals.contains(dartGetterName)) {
return 'this.$dartGetterName';
}
return dartGetterName;
}