EnumTypeExtensionNode constructor

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

Implementation

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