operator ~/ method

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

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

Implementation

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