AbstractType mixin

GraphQL supports two abstract types: interfaces (InterfaceTypeDefinition) and unions (UnionTypeDefinition).

See TypeDefinition for details on all GraphQL Type Definitions.

Superclass Constraints
Implemented by

Constructors

AbstractType()

Properties

astNode TypeDefinitionNode
The underlying definition node from gql/ast.dart
read-only, inherited
description String
read-only, inherited
directives List<Directive>
read-only, inherited
name String
read-only, inherited
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

toString() String
Returns a string representation of this object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(Object o) bool
The equality operator. [...]
inherited

Static Methods

isSubType(AbstractType abstractType, ObjectTypeDefinition objectType) bool
Determine whether objectType is a acceptable as the given abstractType