operator > method

bool operator >(
  1. DateTime other
)

Checks if the current date and time is greater than the given date and time.

Implementation

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