Get your
own
website
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
class Car { static int count = 0; } void main() { var car = Car(); print(car.count); }
main.dart:7:13: Error: The getter 'count' isn't defined for the type 'Car'.
- 'Car' is from 'main.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'count'.
print(car.count);
^^^^^