isSameOrBefore method

bool isSameOrBefore(
  1. DateTime other
)

Return true if other isEqual or isBefore to this date

Implementation

bool isSameOrBefore(DateTime other) => this == other || isBefore(other);