CollectionRef<E, D extends Document<E>, DocRef extends DocumentRef<E, D>> class abstract

Inheritance
Annotations

Constructors

CollectionRef(CollectionReference<JsonMap> ref)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
query Query<JsonMap>
finalinherited
ref CollectionReference<JsonMap>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(E entity) Future<DocRef>
decode(DocumentSnapshot<JsonMap> snapshot, DocRef docRef) → D
inherited
deleteAllDocuments({int batchSize = 500}) Future<List<DocumentReference<Object?>>>
Delete all documents
inherited
docRef(DocumentReference<JsonMap> ref) → DocRef
inherited
docRefWithId([String? id]) → DocRef
documentListResult([QueryBuilder? queryBuilder]) Stream<DocumentListResult<E, D, DocRef>>
inherited
documentMap([QueryBuilder? queryBuilder]) Stream<Map<DocRef, D>>
inherited
documents([QueryBuilder? queryBuilder]) Stream<List<D>>
inherited
encode(E data) → JsonMap
inherited
getDocuments([QueryBuilder? queryBuilder]) Future<List<D>>
inherited
getSnapshots([QueryBuilder? queryBuilder, GetOptions? options]) Future<QuerySnapshot<JsonMap>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pagingController({QueryBuilder? queryBuilder, int initialSize = 10, int defaultPagingSize = 10}) → CollectionPagingController<E, D, DocRef>
inherited
snapshots([QueryBuilder? queryBuilder]) Stream<QuerySnapshot<JsonMap>>
inherited
toString() String
A string representation of this object.
inherited

Operators

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