Creating a class
Classes can be created as follow:
The class can be instantiated using the new keyword after which the field values will be null by default.
Field values can then be accessed:
In this page (written and validated by A. Gawali) you learned about Dart Classes . What's Next? If you are interested in completing Dart tutorial, your next topic will be learning about: Dart Members.