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