GraphQLSchema class

Represents a GraphQL schema.

Annotations

Constructors

GraphQLSchema({List<GraphQLType> types, GraphQLType queryType, GraphQLType mutationType, GraphQLType subscriptionType, List<GraphQLDirective> directives})
Instantiates a GraphQL schema.
GraphQLSchema.fromJson(Map<String, dynamic> json)
Build a GraphQL schema from a JSON map.
factory

Properties

directives List<GraphQLDirective>
A list of GraphQL directives in this schema.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
mutationType GraphQLType
The GraphQL mutation type in this schema.
final
queryType GraphQLType
The GraphQL query type in this schema.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subscriptionType GraphQLType
The GraphQL subscription type in this schema.
final
types List<GraphQLType>
A list of GraphQL types in this schema.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Convert this GraphQL schema instance to JSON.
toString() String
Returns a string representation of this object.
inherited

Operators

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