operator ~/ method

Future<int> operator ~/(
  1. FutureOr<double> other
)

Operator to divide (to int) FutureOr<int>.

Implementation

Future<int> operator ~/(FutureOr<double> other) =>
    resolveBoth(other, (n1, n2) => n1 ~/ n2);