operator == method
Checks if this offset is equal to another object.
Returns true if the other object is an IntOffset with the same coordinates.
Implementation
@override
bool operator ==(Object other) =>
other is IntOffset && x == other.x && y == other.y;