The base class for all Dart objects.
Because Object is the root of the Dart class hierarchy, every other Dart class is a subclass of Object.
When you define a class, you should override toString to return a string describing an instance of that class. You might also need to define hashCode and operator ==, as described in the Implementing map keys section of the library tour.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-core/Object-class.html