DocumentReference class

Implemented types

Constructors

DocumentReference(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
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

collection(String collectionPath) CollectionReference
Returns the reference of a collection contained inside of this document.
get() Future<DocumentSnapshot>
Reads the document referenced by this DocumentReference.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(dynamic o) bool
The equality operator.
override