convert<S2> method
Maps the success value. A failure passes through.
Implementation
ResStream<S2, F> convert<S2>(S2 Function(S ok) onOk) =>
ResStream._(_stream.convert(onOk));
Maps the success value. A failure passes through.
ResStream<S2, F> convert<S2>(S2 Function(S ok) onOk) =>
ResStream._(_stream.convert(onOk));