Document<T> class
- Implementers
Constructors
Properties
- collection → String
-
final
-
fromJson
→ FromJson<
T> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- persistorSettings → PersistorSettings?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toJson
→ ToJson<
T> ? -
final
Methods
-
create(
T data, {bool broadcast = true}) → DocumentSnapshot< T> -
createOrUpdate(
T data, {bool broadcast = true}) → DocumentSnapshot< T> -
delete(
{bool broadcast = true}) → void -
exists(
) → bool -
get(
) → DocumentSnapshot< T> ? -
getJson(
) → Json? -
isPendingBroadcast(
) → bool -
modify(
ModifyFn< T> modifyFn, {bool broadcast = true}) → DocumentSnapshot<T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
observe(
{bool multicast = false}) → ObservableDocument< T> -
stream(
) → Stream< DocumentSnapshot< T> ?> -
streamChanges(
) → Stream< DocumentChangeSnapshot< T> > -
subcollection<
S> (String subcollection, {FromJson< S> ? fromJson, ToJson<S> ? toJson, PersistorSettings<S> ? persistorSettings}) → Collection<S> -
toString(
) → String -
A string representation of this object.
inherited
-
update(
T data, {bool broadcast = true}) → DocumentSnapshot< T>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited