operator ~/ method

int operator ~/(
  1. Object other
)

Implementation

int operator ~/(Object other) {
  _checkArg(other, "other");
  return switch (other) {
    num() => value ~/ other,
    DoubleWithTolerance() => value ~/ other.value,
    _ => throw TypeError(),
  };
}