FieldDefinitionNode constructor
const
FieldDefinitionNode({
- StringValueNode? description,
- required NameNode name,
- required TypeNode type,
- List<
InputValueDefinitionNode> args = const [], - List<
DirectiveNode> directives = const [], - FileSpan? span,
Implementation
const FieldDefinitionNode({
this.description,
required this.name,
required this.type,
this.args = const [],
this.directives = const [],
FileSpan? span,
}) : super(span);