GraphQLSchema class

The schema against which queries, mutations, and subscriptions are executed.

Constructors

GraphQLSchema({GraphQLObjectType? queryType, GraphQLObjectType? mutationType, GraphQLObjectType? subscriptionType, Iterable<GraphQLDirectiveType>? directiveTypes})

Properties

directiveTypes Iterable<GraphQLDirectiveType>?
final
hashCode int
The hash code for this object.
no setterinherited
mutationType GraphQLObjectType?
The shape required for any query that changes the state of the backend.
final
queryType GraphQLObjectType?
The shape which all queries against the backend must take.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionType GraphQLObjectType?
A GraphQLObjectType describing the form of data sent to real-time subscribers.
final

Methods

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