FieldNode constructor Null safety

const FieldNode(
  1. {NameNode? alias,
  2. required NameNode name,
  3. List<ArgumentNode> arguments = const [],
  4. List<DirectiveNode> directives = const [],
  5. SelectionSetNode? selectionSet,
  6. FileSpan? span}
)

Implementation

const FieldNode({
  this.alias,
  required this.name,
  this.arguments = const [],
  this.directives = const [],
  this.selectionSet,
  FileSpan? span,
}) : super(span);