GetExecutableType class

Container for the fromSchema and fromFragments dereferencing callbacks necessary for full type information while working with an ExecutableDocument.

This makes fragment and schema-aware use-cases such as code generation much simpler.

Annotations
  • @immutable

Constructors

GetExecutableType(ResolveType? fromSchema, ResolveFragment fromFragments)
const

Properties

fromFragments ResolveFragment
final
fromSchema ResolveType?
Resolve the given name into a TypeDefinition, usually defined within the given context such as a GraphQLSchema.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 o) bool
The equality operator.
override

Constants

withoutContext → const GetExecutableType
throw a StateError when resolution is attempted without a context passed down