isAfter method

bool isAfter(
  1. TaskPhase other
)

Whether this phase comes after another phase.

Implementation

bool isAfter(TaskPhase other) => index > other.index;