map
Transforms a successful result using block, propagating Result.Loading, Result.Empty, and Result.Error unchanged.
Return
The transformed result, or the original non-success state.
Parameters
block
Transformation applied to the data of a Result.Success.