ifErr method
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;
Performs a side-effect with the contained error if this is an Err.
@override
@pragma('vm:prefer-inline')
Ok<T> ifErr(@noFuturesAllowed void Function(Err<T> err) noFuturesAllowed) =>
this;