operator == method Null safety
- Object other
override
Compares two Offsets for equality.
Implementation
@override
bool operator ==(Object other) {
return other is Offset
&& other.dx == dx
&& other.dy == dy;
}
Compares two Offsets for equality.
@override
bool operator ==(Object other) {
return other is Offset
&& other.dx == dx
&& other.dy == dy;
}