QuerySnapshot class final

lang-core QuerySnapshot: every statement's data plus loading, refetching and error lists.

Constructors

QuerySnapshot({Map<String, Object?> data = const {}, List<String> loading = const [], List<String> refetching = const [], List<OpenUiError> errors = const []})
const

Properties

data → Map<String, Object?>
Query results and mutation results by statement id.
final
errors → List<OpenUiError>
Queries first, then mutations.
final
hashCode → int
The hash code for this object.
no setterinherited
loading → List<String>
Statement ids that are loading.
final
refetching → List<String>
Loading statement ids that have fetched before.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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