isBefore method

bool isBefore(
  1. Week other
)

Return true if startOfWeek is before other, false otherwise.

Implementation

bool isBefore(Week other) => startOfWeek.isBefore(other.startOfWeek);