Specifically with operator ==.

class Foo {
int _a;
int _b;

int get a => _a;
int get b => _b;

...

bool operator ==(Foo other) {
return other._a == this._a && other._b == this._b;
}
}

Any guesses?