Chapter 7Classes and Objects

Chapter 6, Project: MVC in Dart made extensive use of classes and objects to build up an MVC library. From this, you can take two lessons: first, it is hard to do significant work in Dart without some object-oriented programming, and second, it is pretty easy to do object-oriented programming in Dart. In this chapter, we will formalize how Dart treats its classes and objects.

Get Dart 1 for Everyone now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.