operator > method

bool operator >(
  1. Week other
)

Returns true if this is after other.

Implementation

bool operator >(Week other) => index > other.index;