VariableDefinitionNode constructor

const VariableDefinitionNode({
  1. required VariableNode variable,
  2. required TypeNode type,
  3. DefaultValueNode? defaultValue,
  4. List<DirectiveNode> directives = const [],
  5. FileSpan? span,
})

Implementation

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