convert<S2> method
Converts the success type of the task's result.
Implementation
Task<S2, F> convert<S2>(S2 Function(S ok) onOk) =>
Task._(_task.convert(onOk));
Converts the success type of the task's result.
Task<S2, F> convert<S2>(S2 Function(S ok) onOk) =>
Task._(_task.convert(onOk));