GraphQLQuery<T, U extends JsonSerializable> class

A GraphQL query abstraction. This class should be extended automatically by Artemis and used with ArtemisClient.

Inheritance

Constructors

GraphQLQuery({U variables})
Instantiates a query or mutation.

Properties

document DocumentNode
AST representation of the document to be executed.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
operationName String
Operation name used for this query/mutation.
final
props List<Object>
The list of properies that will be used to determine whether two instances are equal.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stringify bool
If set to true, the toString method will be overridden to output this instance's props. [...]
read-only, inherited
variables → U
Typed query/mutation variables.
final

Methods

getVariablesMap() Map<String, dynamic>
Get variables as a JSON map.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
parse(Map<String, dynamic> json) → T
Parses a JSON map into the response type.
toString() String
Returns a string representation of this object.
inherited

Operators

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