FieldDefinitionNode constructor

const FieldDefinitionNode({
  1. StringValueNode? description,
  2. required NameNode name,
  3. required TypeNode type,
  4. List<InputValueDefinitionNode> args = const [],
  5. List<DirectiveNode> directives = const [],
  6. FileSpan? span,
})

Implementation

const FieldDefinitionNode({
  this.description,
  required this.name,
  required this.type,
  this.args = const [],
  this.directives = const [],
  FileSpan? span,
}) : super(span);