operator == method
Compares two Offsets for equality.
Implementation
@override
bool operator ==(Object other) {
return other is OffsetPoint &&
other.dx == dx &&
other.dy == dy &&
other.timestamp == timestamp &&
other.pressure == pressure;
}