DocumentReference class

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
no setter
objectId String
getter/setter pair
parent CollectionReference
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

collection(String path) CollectionReference
delete() Future<void>
get() Future<DocumentSnapshot>
getCollections() Future<List<CollectionReference>?>
listCollections() Future<List<String>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(Map<String, dynamic>? data, {bool merge = false}) Future<void>
toString() String
A string representation of this object.
inherited
update(Map<String, dynamic> data) Future<void>
watch() Stream<DocumentSnapshot>

Operators

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