DocRef<T extends Object?> class

Constructors

DocRef.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

collection(String collection) ColRef<T>
delete() Future<void>
get() Future<DocumentSnapshotForAll<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(T value) Future<void>
snapshots() DocumentSnapshots<T>
toString() String
A string representation of this object.
inherited
update(Map<String, dynamic> map) Future<void>
withConverter<R extends Object?>({required R fromFirestore(DocumentSnapshotForAll<Object?>, dynamic), required Map<String, Object?> toFirestore(R, dynamic)}) DocRef<R>

Operators

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