isGreaterThan method
Implementation
@pragma("vm:prefer-inline")
bool isGreaterThan(Object other) {
  _checkArg(other, "other");
  return switch (other) {
    num() => value > other,
    DoubleWithTolerance() => value > other.value,
    _ => throw TypeError(),
  };
}