mapErr method

  1. @override
Err<T> mapErr(
  1. @noFutures Err<T> noFutures(
    1. Err<T> err
    )
)
override

Transforms the inner Err instance if this is an Err.

Implementation

@override
@pragma('vm:prefer-inline')
Err<T> mapErr(@noFutures Err<T> Function(Err<T> err) noFutures) {
  return noFutures(this);
}