Runtime representation of a type.
Type objects represent types. A type object can be created in several ways:
Type type = int;, or a type variable occurring as an expression, like Type type = T;.Type type = o.runtimeType;.dart:mirrors.A type object is intended as an entry point for using dart:mirrors. The only operations supported are comparing to other type objects for equality, and converting it to a string for debugging.
other is a Type instance representing an equivalent type.
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-core/Type-class.html