operator == abstract method

bool operator ==(
  1. 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);