map<TResult extends Object?> method
TResult
map<TResult extends Object?>({
- required TResult data(
- _Data<
T> value
- _Data<
- required TResult loading(
- _Loading<
T> value
- _Loading<
- required TResult error(
- _Error<
T> value
- _Error<
- required TResult onGoingLoading(
- _OnGoingLoading<
T> value
- _OnGoingLoading<
- required TResult onGoingError(
- _OnGoingError<
T> value
- _OnGoingError<
inherited
Implementation
@optionalTypeArgs
TResult map<TResult extends Object?>({
required TResult Function(_Data<T> value) data,
required TResult Function(_Loading<T> value) loading,
required TResult Function(_Error<T> value) error,
required TResult Function(_OnGoingLoading<T> value) onGoingLoading,
required TResult Function(_OnGoingError<T> value) onGoingError,
}) =>
throw _privateConstructorUsedError;