isBefore method

bool isBefore(
  1. TaskPhase other
)

Whether this phase comes before another phase.

Implementation

bool isBefore(TaskPhase other) => index < other.index;