operator < method

bool operator <(
  1. Date other
)

Checks if this is before other.

Implementation

bool operator <(final Date other) => _date.isBefore(other.toDateTime());