ExecutableTypeResolver class Null safety

Enables "type resolution" for implementing classes, allowing for type-dereferencing, such as is done by ExecutableDocument.

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

Implementers

Constructors

ExecutableTypeResolver()

Properties

getType GetExecutableType
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
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 other) bool
The equality operator. [...]
inherited

Constants

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