loon library
Classes
-
Collection<
T> -
Document<
T> -
DocumentChangeSnapshot<
T> -
DocumentSnapshot<
T> -
DocumentStreamBuilder<
T> -
DocumentStreamBuilderState<
T> - FilePersistor
- A worker abstraction that creates a background worker isolate to process file persistence/hydration.
- FilePersistorSettings
- Loon
-
ObservableDocument<
T> -
ObservableQuery<
T> - Persistor
- Abstract persistor that implements the base persistence batching, de-duping and locking of persistence operations and exposes the public persistence APIs for persistence implementations to implement. See FilePersistor as an example implementation.
-
PersistorSettings<
T> -
Query<
T> -
QueryStreamBuilder<
T> -
QueryStreamBuilderState<
T>
Enums
Mixins
-
BroadcastObserver<
T, S> - A mixin that provides an observable interface for the access and streaming of data broadcasted from the store.
Typedefs
-
DependenciesBuilder<
T> = Set< Document> ? Function(DocumentSnapshot<T> snap) - Returns a set of documents that the document associated with the given DocumentSnapshot is dependent on.
-
DocumentBroadcastStore
= Map<
String, Map< String, BroadcastEventTypes> > -
DocumentStore
= Map<
String, Map< String, DocumentSnapshot> > -
FilterFn<
T> = bool Function(DocumentSnapshot< T> snap) -
FromJson<
T> = T Function(Json json) -
Json
= Map<
String, dynamic> -
ModifyFn<
T> = T Function(DocumentSnapshot< T> ? snap) -
Optional<
T> = T? -
SerializedCollectionStore
= Map<
String, Map< String, Json> > -
SortFn<
T> = int Function(DocumentSnapshot< T> a, DocumentSnapshot<T> b) -
ToJson<
T> = Json Function(T model)