AbstractFirestoreLoaderFactory<T extends WithId<String>, F extends AbstractFilter> class
abstract
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
byIdBloc(String id)
→ ModelByIdBloc<String, T>
-
Returns a loader for a single object by
id
.
Returns a self-updated bloc if possible, or a frozen one otherwise.
inherited
-
clear()
→ Future<void>
-
Deletes all loaders.
inherited
-
createFrozenByIdBloc(String id)
→ ModelByIdBloc<String, T>
-
Creates a loader for a single object by
id
that is not self-updated
when the data changes at the origin.
-
createFrozenListBloc(F filter)
→ FirestoreFrozenLazyLoadBloc<T>
-
Creates a lazy loader for the objects matching the
filter
that is not self-updated when the data changes at the origin.
-
createFrozenModelByFilterBloc(F filter)
→ ModelByFilterBloc<String, T>
-
Creates a loader for a single object by
filter
that is not self-updated
when the data changes at the origin.
-
createLiveByIdBloc(String id)
→ FirestoreLiveByIdBloc<T>
-
Creates a loader for a single object by
id
that is self-updated
when the data changes at the origin.
-
createLiveListBloc(F filter)
→ LazyLoadBloc<T>
-
Creates a lazy loader for the objects matching the
filter
that is self-updated when the data changes at the origin.
-
createLiveModelByFilterBloc(F filter)
→ FirestoreLiveByFilterBloc<T>
-
Creates a loader for a single object by
filter
that is self-updated
when the data changes at the origin.
-
createQueryBuilder(F filter)
→ QueryBuilder<T>
-
-
fromFirestore(DocumentSnapshot<Map<String, dynamic>> snapshot, SnapshotOptions? options)
→ T
-
-
fromFirestoreBase(DocumentSnapshot<Map<String, dynamic>> snapshot, SnapshotOptions? options)
→ T
-
-
frozenByIdBloc(String id)
→ ModelByIdBloc<String, T>
-
Returns a loader for a single object by
id
that is not self-updated
when the data changes at the origin.
inherited
-
frozenListBloc(F filter)
→ LazyLoadBloc<T>
-
Creates a lazy loader for the objects matching the
filter
that is not self-updated when the data changes at the origin.
inherited
-
frozenModelByFilterBloc(F filter)
→ ModelByFilterBloc<String, T>
-
Returns a loader for a single object by
filter
that is not self-updated
when the data changes at the origin.
inherited
-
getCollection()
→ CollectionReference<Map<String, dynamic>>
-
-
listBloc(F filter)
→ LazyLoadBloc<T>
-
Returns a lazy loader for the objects matching the
filter
.
Returns a self-updated bloc if possible, or a frozen one otherwise.
inherited
-
liveByIdBloc(String id)
→ ModelByIdBloc<String, T>
-
Returns a loader for a single object by
id
that is self-updated
when the data changes at the origin.
inherited
-
liveListBloc(F filter)
→ LazyLoadBloc<T>
-
Creates a lazy loader for the objects matching the
filter
that is self-updated when the data changes at the origin.
inherited
-
liveModelByFilterBloc(F filter)
→ ModelByFilterBloc<String, T>
-
Returns a loader for a single object by
filter
that is self-updated
when the data changes at the origin.
inherited
-
modelByFilterBloc(F filter)
→ ModelByFilterBloc<String, T>
-
Returns a loader for a single object by
filter
.
Returns a self-updated bloc if possible, or a frozen one otherwise.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(Object error, StackTrace trace)
→ void
-
-
toFirestore(T value, SetOptions? options)
→ Map<String, Object?>
-
-
toString()
→ String
-
A string representation of this object.
inherited