operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Compares two Offsets for equality.

Implementation

@override
bool operator ==(other) {
  return other is OffsetPoint &&
      other.dx == dx &&
      other.dy == dy &&
      other.timestamp == timestamp;
}