RDBReferenceDelegate class

Delegate for getting a reference to a document or collection.

Constructors

RDBReferenceDelegate()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

collection(Type type, {String? subcollection}) DatabaseReference
Returns a reference to a collection using its class.
documentFromID(Type type, String documentID, {String? subcollection}) DatabaseReference
Returns a reference to a document using its class and document ID.
documentFromObject(dynamic object, {String? subcollection}) DatabaseReference
Returns a reference to a document using an object.
documentFromPath(String path) DatabaseReference
Returns a reference to a document using its path.
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 ==(Object other) bool
The equality operator.
inherited