GqlSchema class

Represents a complete GraphQL schema from introspection.

Constructors

GqlSchema({String? queryTypeName, String? mutationTypeName, String? subscriptionTypeName, required Map<String, GqlTypeDef> types})
const
GqlSchema.fromIntrospection(Map<String, dynamic> data)
Parses the __schema structure from an introspection result.
factory

Properties

entityTypes → Iterable<GqlTypeDef>
Returns all OBJECT types excluding built-ins and root operation types.
no setter
enumTypes → Iterable<GqlTypeDef>
Returns all ENUM types excluding built-ins.
no setter
hashCode → int
The hash code for this object.
no setterinherited
mutationTypeName → String?
final
queryTypeName → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subscriptionTypeName → String?
final
types → Map<String, GqlTypeDef>
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