ObjectTypeExtensionNode constructor

const ObjectTypeExtensionNode({
  1. required NameNode name,
  2. List<NamedTypeNode> interfaces = const [],
  3. List<FieldDefinitionNode> fields = const [],
  4. FileSpan? span,
  5. List<DirectiveNode> directives = const [],
})

Implementation

const ObjectTypeExtensionNode({
  required NameNode name,
  this.interfaces = const [],
  this.fields = const [],
  FileSpan? span,
  List<DirectiveNode> directives = const [],
}) : super(
        span: span,
        name: name,
        directives: directives,
      );