GraphQLQueryBuilder class
Utility class for building GraphQL queries programmatically.
Constructors
- GraphQLQueryBuilder.mutation()
- Creates a new mutation builder.
- GraphQLQueryBuilder.query()
- Creates a new query builder.
- GraphQLQueryBuilder.subscription()
- Creates a new subscription builder.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
body(
String body) → GraphQLQueryBuilder - Adds the query body.
-
build(
) → String - Builds the final GraphQL string.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
operationName(
String name) → GraphQLQueryBuilder - Adds an operation name.
-
toString(
) → String -
A string representation of this object.
inherited
-
variables(
Map< String, String> variables) → GraphQLQueryBuilder - Adds variables definition.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited