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