operator < method

bool operator <(
  1. dynamic other
)

Implementation

bool operator <(dynamic other) {
  if (other is! Money) return false;
  return fmu < other.fmu &&
      currency == other.currency &&
      precision == other.precision;
}