QueryInput constructor

QueryInput({
  1. required TypeName type,
  2. List<String> annotations = const [],
  3. required QueryInputName name,
})

Instantiate an input parameter.

Implementation

QueryInput({
  required this.type,
  this.annotations = const [],
  required this.name,
})  : assert(hasValue(type) && hasValue(name)),
      super(name: name);