maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult loading(
- PromiseLoading<
T> value
- PromiseLoading<
- TResult error(
- PromiseError<
T> value
- PromiseError<
- TResult data(
- PromiseData<
T> value
- PromiseData<
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(PromiseLoading<T> value)? loading,
TResult Function(PromiseError<T> value)? error,
TResult Function(PromiseData<T> value)? data,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;