UnionTypeExtensionNode constructor

const UnionTypeExtensionNode(
  1. {List<NamedTypeNode> types: const [],
  2. @required NameNode name,
  3. List<DirectiveNode> directives: const [],
  4. FileSpan span}
)

Implementation

const UnionTypeExtensionNode({
  this.types = const [],
  @required NameNode name,
  List<DirectiveNode> directives = const [],
  FileSpan span,
})  : assert(name != null),
      assert(types != null),
      assert(directives != null),
      super(
        span: span,
        name: name,
        directives: directives,
      );