fold<R> abstract method
Returns the result of applying one of the functions to this result.
Implementation
R fold<R>(
R Function(BaseError failure) onError,
R Function(T value) onSuccess,
);
Returns the result of applying one of the functions to this result.
R fold<R>(
R Function(BaseError failure) onError,
R Function(T value) onSuccess,
);