QueryPayload class

Represent the payload used during a Start query operation. The operationName should match one of the top level query definitions defined in the query provided. Additional variables can be provided and sent to the server for processing.

Inheritance

Constructors

QueryPayload({String? operationName, required String query, required Map<String, dynamic> variables})

Properties

hashCode int
The hash code for this object.
no setterinherited
operationName String?
final
query String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variables Map<String, dynamic>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited