AsyncResult<T, E> constructor
const
AsyncResult<T, E> ({})
Implementation
const AsyncResult({
required this.key,
required this.future,
required this.onLoading,
required this.onSuccess,
required this.onFailure,
required this.onError,
});