ObjectTypeDefinitionNode constructor
const
ObjectTypeDefinitionNode({
- List<
NamedTypeNode> interfaces = const [], - List<
FieldDefinitionNode> fields = const [], - StringValueNode? description,
- required NameNode name,
- List<
DirectiveNode> directives = const [], - 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,
);