occursBefore method

bool occursBefore(
  1. Period other
)

Returns true if this occurs before other.

Implementation

bool occursBefore(Period other) => end.isBefore(other.start);