LDR class
The class representing a document within a local database.
Constructors
- LDR({required String key, required LocalDatabase database})
-
Constructor for the LDR class.
const
Properties
- database → LocalDatabase
-
The reference to the local database containing the document.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
The key or path of the document.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
collection(
String path) → LCR - Method to get a reference to a collection within the document.
-
delete(
) → void - Method to delete the document.
-
get(
) → Data - Method to get all data in the document.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
Data data) → void - Method to set data in the document.
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Data data) → void - Method to update data in the document.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited