operator > method

bool operator >(
  1. Offset other
)

Implements the operator > (greater than).

this: The left hand side of the operator. other: The right hand side of the operator.

Returns: true if the left value is greater than the right value, otherwise false.

Implementation

bool operator >(Offset other) => compareTo(other) > 0;