map

final Result<NewSuccess, FailureType> map<NewSuccess extends Any>(Function1<SuccessType, NewSuccess> onSuccess)