MutationBuilder class

Constructors

MutationBuilder(String operationName, Map<String, dynamic> parameters, Map<String, dynamic> results)
Builds a muation query string ie. {"query":{mutation {addProduct (id: "id", name: "name") {results}}}}

Properties

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

Methods

buildQuery() Map<String, dynamic>
Method to build the json string.
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