equals method

bool equals(
  1. Offset other
)

Indicates whether the current object is equal to another object of the same type.

  • other: An object to compare with this object.

Returns: true if the current object is equal to the other otherwise, false.

Implementation

bool equals(Offset other) => inSeconds == other.inSeconds;