recoverWhen method
Turns a failure that passes check into a success of then(failure).
Implementation
ResStream<S, F> recoverWhen({
required bool Function(F err) check,
required S Function(F err) then,
}) => ResStream._(_stream.recoverWhen(check: check, then: then));