flatMapError method

Result<V> flatMapError(
  1. Result<V> transform(
    1. dynamic
    )
)

Implementation

$async.Result<V> flatMapError($async.Result<V> Function(dynamic) transform) {
  if (isValue) {
    return $async.Result.value(asValue!.value);
  } else {
    return transform(asError!.error);
  }
}