FirestoreLiveSingleDocumentCollectionBloc<T extends WithId<String>> class

Constructors

FirestoreLiveSingleDocumentCollectionBloc({required DocumentReference<Map<String, dynamic>> documentReference, required T fromIdAndMap(String id, Map<String, dynamic> map), OnError? onError})

Properties

clientFilters List<AbstractClientFilter<T>>
finalinherited
currentState → CollectionState<T>
no setterinherited
documentReference → DocumentReference<Map<String, dynamic>>
final
fromIdAndMap → T Function(String id, Map<String, dynamic> map)
final
hashCode int
The hash code for this object.
no setterinherited
initialState → CollectionState<T>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
states Stream<CollectionState<T>>
no setterinherited
totalLimit int?
finalinherited

Methods

createState() → CollectionState<T>
dispose() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onError(Object error, StackTrace trace) → void
inherited
pushOutput() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited