isBefore method

bool isBefore(
  1. Date other
)

Whether this date is before other.

Implementation

bool isBefore(Date other) => toDateTime().isBefore(other.toDateTime());