Query class
Class Query Creates a query object and converts it into a json
Constructors
Properties
- document → String
-
document variable
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> ? -
headers variable
final
- isValid → bool
-
The bool method isValid returns the document that starts with query or
subscription or mutation
no setter
- key → String?
-
key variable
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
variables
→ Map<
String, dynamic> ? -
variables variable
final
Methods
-
copyWith(
{String? document, Map< String, dynamic> ? variables, Map<String, String> ? headers, String? key}) → Query - The method copyWith will copy Query into a new object, changing the variable values
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map - The Map method toJson returns the document as a json
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited