match<A> method

Future<A> match<A>(
  1. A ok(
    1. T value
    ),
  2. A err(
    1. E error
    )
)

Implementation

Future<A> match<A>(A Function(T value) ok, A Function(E error) err) =>
    _future.then((res) => res.match(ok, err));