onSuccess<R> abstract method
R?
onSuccess<R>(
- R whenSuccess(
- S success
Execute whenSuccess
if the Result is a success.
Implementation
R? onSuccess<R>(
R Function(S success) whenSuccess,
);