W3cubDocs

/Dart 2

operator == method

bool operator == (dynamic other)
override

Whether this mirror is equal to other.

The equality holds if and only if

  1. other is a mirror of the same kind, and
  2. This mirror and other reflect the same class.

Note that if the reflected class is an invocation of a generic class, 2. implies that the reflected class and other have equal type arguments.

Implementation

bool operator ==(other);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-mirrors/ClassMirror/operator_equals.html