add inline getter similar to inline method #19800
Labels
analyzer-refactoring
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
type-enhancement
A request for a change that isn't a bug
I cannot seem to inline the "message" getter...
void main() {
print(message);
}
String get message => "Hello, World!";
... but if I change it to a method, then I can inline it ...
void main() {
print(message);
}
String message() => "Hello, World!";
The text was updated successfully, but these errors were encountered: