mapFailure<F> abstract method

Result<T, F> mapFailure<F>(
  1. F f(
    1. E
    )
)

Map a function over the reason of an unsuccessful Result.

Implementation

Result<T, F> mapFailure<F>(F Function(E) f);