isGreaterThan method

bool isGreaterThan(
  1. T other
)

shorthand for: compareTo(other) > 0

Implementation

bool isGreaterThan(T other) => compareTo(other) > 0;