collection library

Data Collections

Classes

CollectionAddEvent<Item extends TransferObjectBase<Id>, Id>
CollectionAlignEvent<Item extends TransferObjectBase<Id>, Id>
CollectionInitEvent<Item extends TransferObjectBase<Id>, Id>
CollectionRemoveEvent<Item extends TransferObjectBase<Id>, Id>
CollectionUpdateEvent<Item extends TransferObjectBase<Id>, Id>
CollectionWindowEvent<Item extends TransferObjectBase<Id>, Id>
CollectionWindowState<Item extends TransferObjectBase<Id>, Id>
CollectionWindowStateStreamTransformer<Item extends TransferObjectBase<Id>, Id>
OrderedData<Item>
PrimaryKeyPullCollection<Item, Id>
Interface for pull collections with primary key to query single objects.
PullCollection<Item>
Interface for pull collections.
ReactiveCollection<Item extends TransferObjectBase<Id>, Id>

Typedefs

ItemByIdDelegate<Item, Id> = Future<Item> Function(Id id)
ItemsDelegate<Item> = Future<List<Item>> Function(int offset, int limit, Map<String, dynamic> params, Map<String, List<String>> query)
LengthDelegate = Future<int> Function(Map<String, dynamic> params, Map<String, List<String>> query)
WindowDelegate<Item extends TransferObjectBase<Id>, Id> = Stream<CollectionWindowState<Item, Id>> Function(int offset, int limit, {Map<String, String> params, CollectionWindowState<Item, Id>? previous, Map<String, List<String>> query})