ItemRecord constructor

ItemRecord({
  1. String? id,
  2. Iterable<DoubleKeyValue>? doubles,
  3. Iterable<LongKeyValue>? longs,
  4. Iterable<StringKeyValue>? strings,
})

Implementation

factory ItemRecord({
  $core.String? id,
  $core.Iterable<$3.DoubleKeyValue>? doubles,
  $core.Iterable<$3.LongKeyValue>? longs,
  $core.Iterable<$3.StringKeyValue>? 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;
}