operator == method
- @override
override
Compares two Offsets for equality.
Implementation
@override
bool operator ==(dynamic other) {
if (other is! Offset)
return false;
final Offset typedOther = other;
return dx == typedOther.dx &&
dy == typedOther.dy;
}