convertBoth<S2, F2> method
Maps the success value and the failure value.
Implementation
ResStream<S2, F2> convertBoth<S2, F2>({
required S2 Function(S ok) onOk,
required F2 Function(F err) onErr,
}) => ResStream._(_stream.convertBoth(onSuccess: onOk, onFailure: onErr));