asyncFlatMap<R> method

FutureResult<R> asyncFlatMap<R>(
  1. FutureResult<R> func(
    1. T value
    )
)

async flat map result

Implementation

FutureResult<R> asyncFlatMap<R>(
  FutureResult<R> Function(T value) func,
) async {
  return fold(Result.error, func);
}