convert<S2> method
Converts the success type of the result.
Implementation
Res<S2, F> convert<S2>(S2 Function(S ok) onOk) =>
Res._(_result.convert(onOk));
Converts the success type of the result.
Res<S2, F> convert<S2>(S2 Function(S ok) onOk) =>
Res._(_result.convert(onOk));