UnionTypeDefinition constructor

const UnionTypeDefinition(
  1. UnionTypeDefinitionNode astNode, [
  2. ResolveType? getType
])

Implementation

const UnionTypeDefinition(
  this.astNode, [
  ResolveType? getType,
]) : getType = getType ?? TypeResolver.withoutContext;