maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult $default(
- List<
ItemType> items, - PagingStatus status,
- bool hasRequestNextPage
- List<
- TResult loading()?,
- TResult error(
- dynamic error
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>(
TResult Function(
List<ItemType> items, PagingStatus status, bool hasRequestNextPage)?
$default, {
TResult Function()? loading,
TResult Function(dynamic error)? error,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;