operator == method

bool operator == (
  1. dynamic other
)
override

Equality for Pointers only depends on their address.

Implementation

bool operator ==(other) {
  if (other == null) return false;
  return address == other.address;
}