GqlSchema class

The parts of a GraphQL schema the generator needs, in declaration order.

Constructors

GqlSchema.parse(String sdl, {String? url})
Parses SDL text. Type extensions are merged into their definitions.
factory

Properties

enums → Map<String, GqlEnumType>
final
hashCode → int
The hash code for this object.
no setterinherited
mutation → GqlObjectType?
no setter
mutationType ↔ String
getter/setter pair
query → GqlObjectType?
no setter
queryType ↔ String
getter/setter pair
rootTypes → Set<String>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scalars → Set<String>
final
subscription → GqlObjectType?
no setter
subscriptionType ↔ String
getter/setter pair
types → Map<String, GqlObjectType>
final
unions → Set<String>
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