CombinedPagination<T, K> class

Utility combining Paginations.

Constructors

CombinedPagination(List<CombinedPaginationEntry<T, Object, K>> paginations)
const

Properties

changes Stream<MapChangeNotification<K, T>>
Returns a Stream of changes of the paginations.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasNext → RxBool
Indicates whether this CombinedPagination have next page.
no setter
items List<T>
List of the items fetched from the paginations.
no setter
nextLoading → RxBool
Indicated whether the next page is being fetched.
no setter
paginations List<CombinedPaginationEntry<T, Object, K>>
Paginations this CombinedPagination combines.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

around() Future<void>
Fetches the initial page.
clear() Future<void>
Resets the paginations to its initial state.
dispose() → void
Disposes this CombinedPagination.
next() Future<void>
Fetches the next page.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(T item, {bool ignoreBounds = false, bool store = true}) Future<void>
Adds the provided item to the paginations.
remove(K key, {bool store = true}) Future<void>
Removes the item with the provided key.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited