ScalarTypeDefinitionNode constructor

const ScalarTypeDefinitionNode({
  1. StringValueNode? description,
  2. required NameNode name,
  3. List<DirectiveNode> directives = const [],
  4. FileSpan? span,
})

Implementation

const ScalarTypeDefinitionNode({
  StringValueNode? description,
  required NameNode name,
  List<DirectiveNode> directives = const [],
  FileSpan? span,
}) : super(
        span: span,
        name: name,
        description: description,
        directives: directives,
      );