InputValueDefinitionNode constructor Null safety

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

Implementation

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