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