ColdStoreDocument class
Represents a cached Firestore document, mirroring the DocumentSnapshot interface.
Constructors
Properties
- exists → bool
-
Whether the document exists in Firestore.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The document's ID (the last component of the path).
final
-
reference
→ DocumentReference<
Object?> -
A reference to the document's location in Firestore.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
data(
) → Map< String, dynamic> ? - Gets the document's data, or null if the document doesn't exist.
-
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