GetDocumentArgs class

Arguments for getDocument. Arguments for getDocument.

Constructors

GetDocumentArgs({required Input<String> collection, required Input<String> database, required Input<String> documentId, Input<String?>? project})
Creates a new GetDocumentArgs. collection The name of the collection of documents. database The name of the Firestore database. documentId The id of the document to get. project The project in which the database resides.
const
GetDocumentArgs.fromMap(Map<String, dynamic> map)
factory

Properties

collection → Input<String>
The name of the collection of documents.
final
database → Input<String>
The name of the Firestore database.
final
documentId → Input<String>
The id of the document to get.
final
hashCode → int
The hash code for this object.
no setterinherited
project → Input<String?>?
The project in which the database resides.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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