ColRef<T extends Object?> class

Constructors

ColRef.withReference(dynamic reference, {FirestoreConverter<T>? converter})

Properties

converter FirestoreConverter<T>?
no setter
hashCode int
The hash code for this object.
no setterinherited
path String
no setter
reference → dynamic
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(T value) Future<DocRef<T>>
doc(String id) DocRef<T>
endAt(List<Object?> values) ColRef<T>
endAtDocument(DocumentSnapshotForAll<T> documentSnapshot) ColRef<T>
endBefore(List<Object?> values) ColRef<T>
endBeforeDocument(DocumentSnapshotForAll<T> documentSnapshot) ColRef<T>
get() Future<QuerySnapshotForAll<T>>
limit(int limit) ColRef<T>
limitToLast(int limitToLast) ColRef<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orderBy(String fieldPath, {bool descending = false}) ColRef<T>
snapshots() CollectionSnapshots<T>
startAfter(List<Object?> values) ColRef<T>
startAfterDocument(DocumentSnapshotForAll<T> documentSnapshot) ColRef<T>
startAt(List<Object?> values) ColRef<T>
startAtDocument(DocumentSnapshotForAll<T> documentSnapshot) ColRef<T>
toString() String
A string representation of this object.
inherited
where(String fieldPath, {dynamic isEqualTo, dynamic isNotEqualTo, dynamic isLessThan, dynamic isLessThanOrEqualTo, dynamic isGreaterThan, dynamic isGreaterThanOrEqualTo, dynamic arrayContains, List? arrayContainsAny, List? whereIn, List? whereNotIn, bool isNull = false}) ColRef<T>
withConverter<R extends Object?>({required R fromFirestore(DocumentSnapshotForAll<R>, dynamic), required Map<String, Object?> toFirestore(R, dynamic)}) ColRef<R>

Operators

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