GetExecutableType class Null safety

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

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. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
GetExecutableType(TypeResolver.withoutContext, _fragmentWithoutContext)