mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<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<
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
throw _privateConstructorUsedError;