mapBoth<U> method

Future<Result<U>> mapBoth<U>(
  1. U transformValue(
    1. V
    ),
  2. dynamic transformError(
    1. dynamic
    )
)

Implementation

Future<$async.Result<U>> mapBoth<U>(U Function(V) transformValue,
        dynamic Function(dynamic) transformError) =>
    then((result) => result.mapBoth(transformValue, transformError));