operator == method

  1. @override
bool operator ==(
  1. Object other
)
inherited

The equality operator.

Implementation

@override
bool operator ==(Object other) {
  if (other is! Reference) {
    return false;
  }
  return other.id == id;
}