isBeforeOrEqual method

bool isBeforeOrEqual(
  1. DateTime other
)

Compare DateTime with DateTime less than or equal.

Implementation

bool isBeforeOrEqual(DateTime other) => compareTo(other) <= 0;