operator > method

bool operator >(
  1. Date other
)

Greater than

Implementation

bool operator >(Date other) => isAfter(other);