CollectionReference class
- Implemented types
Constructors
-
CollectionReference(FirestoreClient client, List<
String> pathComponents)
Properties
- client → FirestoreClient
-
final
- documentID → String
-
This document's given or generated ID in the collection.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
ID of the referenced collection.
no setter
- path → String
-
Slash-delimited path representing the database location of this query.
no setter
-
pathComponents
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
document(
[String? path]) → DocumentReference -
Returns a
DocumentReference
with the provided path. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parent(
) → CollectionReference? - For subcollections, parent returns the containing DocumentReference.
-
snapshots(
) → Future< List< DocumentSnapshot> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic o) → bool -
The equality operator.
override