DocumentReference class
Constructors
- DocumentReference(HopDocClient client, String _index, String _id)
Properties
- client ↔ HopDocClient
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
) → Future< DocumentSnapshot> -
get(
) → Future< DocumentSnapshot> -
getWidget(
{required Widget onData(Document?), required Widget onError(String), required Widget onLoading()}) → Widget -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setData(
Map< String, dynamic> doc) → Future<DocumentSnapshot> -
toString(
) → String -
A string representation of this object.
inherited
-
update(
Map< String, dynamic> fields) → Future<DocumentSnapshot>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited