operator / method

double operator /(
  1. Object other
)

Divides this number by other.

Implementation

double operator /(Object other) => switch (other) {
      int otherValue => _value / otherValue,
      _ => throw ArgumentError.value(
          other,
          'other',
          'Expected an int or Int64.',
        ),
    };