W3cubDocs

/Dart 2

operator == method

bool operator == (dynamic other)

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. either

    a. hasReflectee is true and so is identical(reflectee, other.reflectee), or

    b. the remote objects reflected by this mirror and by other are identical.

Implementation

bool operator ==(other);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-mirrors/InstanceMirror/operator_equals.html