DehydratedState class final
Transport-neutral Query snapshot shared by handoff and persistence.
Constructors
-
DehydratedState({required List<
DehydratedQuery> queries, required List<DehydratedMutation> mutations}) -
Creates a transport-neutral Query snapshot.
const
-
DehydratedState.fromJson(Map<
String, Object?> json) -
Decodes a snapshot from JSON-compatible data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mutations
→ List<
DehydratedMutation> -
Dehydrated paused mutation entries.
final
-
queries
→ List<
DehydratedQuery> -
Dehydrated query entries.
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
-
toJson(
) → Map< String, Object?> - Encodes this snapshot as JSON-compatible data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited