QueryRecordsResponse constructor

QueryRecordsResponse({
  1. Iterable<Record>? records,
  2. Iterable<String>? storeKeys,
})

Implementation

factory QueryRecordsResponse({
  $core.Iterable<Record>? records,
  $core.Iterable<$core.String>? storeKeys,
}) {
  final _result = create();
  if (records != null) {
    _result.records.addAll(records);
  }
  if (storeKeys != null) {
    _result.storeKeys.addAll(storeKeys);
  }
  return _result;
}