operator >= method

bool operator >=(
  1. Object other
)

Relational greater than or equal operator.

Implementation

bool operator >=(Object other) {
  if (other is SqlMoney) {
    return value >= other.value;
  } else if (other is double) {
    return value >= SqlMoney(other).value;
  } else if (other is int) {
    return value >= SqlMoney(other).value;
  } else if (other is String) {
    return value >= SqlMoney(other.toString()).value;
  }
  throw ArgumentError(other.toString() + 'is not a number');
}