NimbostratusDocumentSnapshot<T> class
Constructors
-
NimbostratusDocumentSnapshot({required T? value, required Stream<
NimbostratusDocumentSnapshot< stream, required DocumentReference<T?> >T> reference, bool isOptimistic = false, SnapshotMetadata? metadata})
Properties
- exists → bool
-
Returns
true
if the document exists.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
This document's given ID for this snapshot.
latefinaloverride-getter
- isOptimistic ↔ bool
-
getter/setter pair
- metadata ↔ SnapshotMetadata
-
Metadata about this document concerning its source and if it has local
modifications.
latefinaloverride-getter
-
next
↔ NimbostratusDocumentSnapshot<
T> ? -
getter/setter pair
-
prev
↔ NimbostratusDocumentSnapshot<
T> ? -
getter/setter pair
-
reference
→ DocumentReference<
T> -
Returns the reference of this snapshot.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
NimbostratusDocumentSnapshot< T?> > -
final
- value → T?
-
final
Methods
-
data(
) → T? -
Contains all the data of this document snapshot.
override
-
get(
Object field) → dynamic -
Gets a nested field by String or
FieldPath
from thisDocumentSnapshot
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withValue(
T? value) → NimbostratusDocumentSnapshot< T>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
Object field) → dynamic -
Gets a nested field by String or
FieldPath
from thisDocumentSnapshot
.override