ItemInput constructor

ItemInput({
  1. String? id,
  2. Iterable<DoubleInputParam>? doubles,
  3. Iterable<LongInputParam>? longs,
  4. Iterable<StringInputParam>? strings,
})

Implementation

factory ItemInput({
  $core.String? id,
  $core.Iterable<DoubleInputParam>? doubles,
  $core.Iterable<LongInputParam>? longs,
  $core.Iterable<StringInputParam>? strings,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (doubles != null) {
    _result.doubles.addAll(doubles);
  }
  if (longs != null) {
    _result.longs.addAll(longs);
  }
  if (strings != null) {
    _result.strings.addAll(strings);
  }
  return _result;
}