operator >= method

Score operator >=(
  1. dynamic other
)

bigger or equal

Implementation

Score operator >=(dynamic other) {
  if (other is int) {
    return matchesRange(
      Range.from(other),
    );
  }
  if (other is Score) return isBiggerOrEqual(other);
  throw ('Please use either a Score or an Int in the operator >=');
}