operator + method

FutureOr<int> operator +(
  1. FutureOr<int> other
)

Operator to sum FutureOr<int>.

Implementation

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