ifErr method

  1. @override
Ok<T> ifErr(
  1. @noFuturesAllowed void noFuturesAllowed(
    1. Err<T> err
    )
)
override

Performs a side-effect with the contained error if this is an Err.

Implementation

@override
@pragma('vm:prefer-inline')
Ok<T> ifErr(@noFuturesAllowed void Function(Err<T> err) noFuturesAllowed) =>
    this;