ifErr method
Performs a side-effect with the contained error if this is an Err.
Implementation
@override
@pragma('vm:prefer-inline')
Err<T> ifErr(@noFutures void Function(Err<T> self, Err<T> err) noFutures) {
return Sync(() {
noFutures(this, this);
return this;
}).value.flatten().err().unwrap();
}