onSuccess
Executes an action if the result is Success, without modifying the original value.
Return
The same DataResult for chaining.
Parameters
action
Action to execute on the Success value.
Executes an action if the result is Success, without modifying the original value.
The same DataResult for chaining.
Action to execute on the Success value.