ObjectTypeDefinitionNode constructor

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

Implementation

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