retro library

Classes

AsyncRepository<T, Id>
CursorPagination
DataProvider<T, Id>
Disposable
DynamicIdZipRepository<T, Id>
A ZipRepository that allows repositories that uses different types of ids.
Filter
FilterOperator
HiveKvStore
A KvStore backed by a Hive box.
Hydratable<T, Id>
IdTransformer<T, Id>
Transforms an id of type Id into another type.
KvStore
LocalStorageKvStore
A KvStore backed by localStorage in web.
MemoryQueryTranslator
MemoryRepository<T, Id>
OffsetPagination
PagedResult<T>
Pagination
Query
QueryTranslator<In, Out>
Refreshable
Repository<T, Id>
RepositoryTransaction<T, Id>
Provides the minimal operations that can be done on a Repository transaction.
Snapshot<T, Id>
Sort
SyncRepository<T, Id>
Transactional<T, Id>
A Transactional provides a method to pull recent transaction changes in order to hydrate other repostiories.
Update<T>
WriteOperation<T, Id>
ZipRepository<T, Id>
A ZipRepository combines many repositories into one.
ZipRepositoryOptions
Contains a list of options to configure a ZipRepository

Functions

decodePageToken(String? pageToken) Map<String, dynamic>
encodePageToken(Map<String, dynamic> data) String

Typedefs

EqualityComparer<T> = int Function(T a, T b)
FromJson<T> = T Function(Map<String, dynamic> json)
IdGetter<T, Id> = Id Function(T element)
Json = Map<String, dynamic>
ToJson<T> = Map<String, dynamic> Function(T data)