TypeExtensionNode constructor

const TypeExtensionNode(
  1. {FileSpan span,
  2. @required NameNode name,
  3. List<DirectiveNode> directives = const []}
)

Implementation

const TypeExtensionNode({
  FileSpan span,
  @required NameNode name,
  this.directives = const [],
})  : assert(name != null),
      assert(directives != null),
      super(
        name: name,
        span: span,
      );