operator < method

bool operator <(
  1. DateTime other
)

Implementation

bool operator <(DateTime other) => other.isAfter(this);