dart / 2 / dart-core / symbol / operator_equals.html

operator == method

bool operator ==(
  1. Object other
)
override

Symbols are equal to other symbols with an equal (==) name string.

Symbols representing library private names also need to represent names from the same library.

Implementation

bool operator ==(Object other);

© 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/Symbol/operator_equals.html