FragmentDefinitionNode constructor

const FragmentDefinitionNode({
  1. required NameNode name,
  2. required TypeConditionNode typeCondition,
  3. List<DirectiveNode> directives = const [],
  4. required SelectionSetNode selectionSet,
  5. FileSpan? span,
})

Implementation

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