operator > method

bool operator >(
  1. Fixed other
)

greater than operator

Implementation

bool operator >(Fixed other) {
  final scaled = _scale2(this, other);
  return scaled.one.minorUnits > scaled.two.minorUnits;
}