PagingStateData<PageKeyType, ItemType> class
abstract
Methods
-
map<TResult extends Object?>(TResult $default(PagingStateData<PageKeyType, ItemType> value), {required TResult loading(PagingStateLoading<PageKeyType, ItemType> value), required TResult error(PagingStateError<PageKeyType, ItemType> value)})
→ TResult
-
inherited
-
maybeMap<TResult extends Object?>(TResult $default(PagingStateData<PageKeyType, ItemType> value)?, {TResult loading(PagingStateLoading<PageKeyType, ItemType> value)?, TResult error(PagingStateError<PageKeyType, ItemType> value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>(TResult $default(List<ItemType> items, PagingStatus status, bool hasRequestNextPage)?, {TResult loading()?, TResult error(dynamic error)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>(TResult $default(List<ItemType> items, PagingStatus status, bool hasRequestNextPage), {required TResult loading(), required TResult error(dynamic error)})
→ TResult
-
inherited