operator ~/ method

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

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

Implementation

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