BatchGetRevisionsRequest constructor

BatchGetRevisionsRequest({
  1. Iterable<Kref>? revisionKrefs,
  2. Iterable<Kref>? itemKrefs,
  3. String? tag,
  4. bool? allowPartial,
})

Implementation

factory BatchGetRevisionsRequest({
  $core.Iterable<Kref>? revisionKrefs,
  $core.Iterable<Kref>? itemKrefs,
  $core.String? tag,
  $core.bool? allowPartial,
}) {
  final result = create();
  if (revisionKrefs != null) result.revisionKrefs.addAll(revisionKrefs);
  if (itemKrefs != null) result.itemKrefs.addAll(itemKrefs);
  if (tag != null) result.tag = tag;
  if (allowPartial != null) result.allowPartial = allowPartial;
  return result;
}