operator == method
- Object other
override
Whether other
is a Type instance representing an equivalent type.
The language specification dictates which types are considered to be the equivalent. If two types are equivalent, it's guaranteed that they are subtypes of each other, but there are also types which are subtypes of each other, and which are not equivalent (for example dynamic
and void
, or FutureOr<Object>
and Object
).
Implementation
bool operator ==(Object other);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-core/Type/operator_equals.html