operator >= method

bool operator >=(
  1. Year other
)

Checks if this year is after or the same as another year.

Implementation

bool operator >=(Year other) => value >= other.value;