InputValueDefinitionNode constructor

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,
})  : assert(type != null),
      assert(name != null),
      assert(type != null),
      assert(directives != null),
      super(span);