Use ";" instead of "{}" for empty constructor bodies #22004
Labels
closed-invalid
Closed as we don't believe the reported issue is generally actionable
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
type-enhancement
A request for a change that isn't a bug
Moved from: dart-lang/dart_style#117
Instead of:
class Point {
int x, y;
Point(this.x, this.y) {}
}
prefer:
class Point {
int x, y;
Point(this.x, this.y);
}
The text was updated successfully, but these errors were encountered: