reservoir library

Classes

Added<Record>
Change<Record>
The Change class is an ADT, meaning we're using the Dart type system at compile time to help us check that we're considering all possible kinds of change: Added, Updated, Removed
HiveSource<Record>
Index<K extends Key, Record>
IndexMultiple<K extends Key<Record>, Record>
IndexUnique<K extends Key<Record>, Record>
Key<T>
Loaded<Record>
MapSource<Record>
Removed<Record>
Reservoir<PrimaryKey extends Key<Record>, Record extends Object>
Source<Record>
A base class for the source of stored Record objects. For example, a HiveSource or other storage mechanism could be subclassed.
Updated<Record>

Constants

PRIMARY_INDEX → const String

Functions

defaultCompare<Item>(Item item1, Item item2) int

Typedefs

Compare<A> = int Function(A, A)
GetKey<K, Record> = K Function(Record)