SchemaExtensionNode constructor

const SchemaExtensionNode(
  1. {List<DirectiveNode> directives: const [],
  2. List<OperationTypeDefinitionNode> operationTypes: const [],
  3. FileSpan span}
)

Implementation

const SchemaExtensionNode({
  this.directives = const [],
  this.operationTypes = const [],
  FileSpan span,
})  : assert(directives != null),
      assert(operationTypes != null),
      super(
        name: null,
        span: span,
      );