concept base object class in category dart

appears as: base Object class
Dart in Action

This is an excerpt from Manning's book Dart in Action.

We’ll explore the base Object class from which all other classes and types inherit, including strings, numbers, Boolean values, null, and your own custom classes. Object provides some standard methods and properties that you can override in your own classes, such as the toString() method. We’ll also look at the dynamic type, which Dart uses to enable optional typing.

Figure 7.8. Dart checks up the hierarchy for the method, which doesn’t exist. Then it checks up the hierarchy for a noSuchMethod() implementation until it finds the one declared in the base Object class.