FirestoreCollection class

Constructors

FirestoreCollection({required CollectionReference<Object?> collection, bool initializeOnStart = true, required List<Query<Object?>> queryList, required QueryOrder queryOrder, bool live = false, bool serverOnly = true, bool includeMetadataChanges = true, bool ignoreRemovedUpdate = false, bool keepDuplicatedDocs = true, required int offset, dynamic onNewPage(int)?, dynamic onDocumentChanged(DocumentSnapshot<Object?>)?, dynamic onItemRemoved(String)?, Map<String, dynamic>? fakeRemoveMap, dynamic shouldUpdate(DocumentSnapshot<Object?>, DocumentSnapshot<Object?>)?})

Properties

collection CollectionReference<Object?>
final
documents List<DocumentSnapshot<Object?>>?
no setter
fakeRemoveMap Map<String, dynamic>?
final
fetching bool
no setter
hasDisplayCompare bool
no setter
hasDisplayList bool
no setter
hashCode int
The hash code for this object.
no setterinherited
ignoreRemovedUpdate bool
final
includeMetadataChanges bool
final
initialized bool
no setter
initializeOnStart bool
final
keepDuplicatedDocs bool
final
length int
no setter
live bool
final
offset int
final
onDocumentChanged → (dynamic Function(DocumentSnapshot<Object?>)?)
final
onItemRemoved → (dynamic Function(String)?)
final
onNewPage → (dynamic Function(int)?)
final
queryOrder QueryOrder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDocs List<String>
no setter
serverOnly bool
final
shouldUpdate → (dynamic Function(DocumentSnapshot<Object?>, DocumentSnapshot<Object?>)?)
final
stream Stream<List<DocumentSnapshot<Object?>>?>
no setter

Methods

compare(DocumentSnapshot<Object?> a, DocumentSnapshot<Object?> b) int
dispose() Future<void>
docsHasAll(Map<String, dynamic> keyValues) List<DocumentSnapshot<Object?>>
getEachFieldValueWithKey(String fieldName) List<String?>
isSelected(String id) bool
nextPage() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeID(String documentID) Future<void>
removeList(List<String> removeList) Future<void>
removeSelecteds() Future<void>
restart({bool notifyWithEmptyList = false, List<Query<Object?>>? newQueryList}) Future<void>
select(String id) → void
silentRemoveID(String documentID) Future<void>
toString() String
A string representation of this object.
inherited
unSelect(String id) → void

Operators

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