BatchGetRevisionsResponse constructor

BatchGetRevisionsResponse({
  1. Iterable<RevisionResponse>? revisions,
  2. Iterable<String>? notFound,
  3. int? requestedCount,
  4. int? foundCount,
})

Implementation

factory BatchGetRevisionsResponse({
  $core.Iterable<RevisionResponse>? revisions,
  $core.Iterable<$core.String>? notFound,
  $core.int? requestedCount,
  $core.int? foundCount,
}) {
  final result = create();
  if (revisions != null) result.revisions.addAll(revisions);
  if (notFound != null) result.notFound.addAll(notFound);
  if (requestedCount != null) result.requestedCount = requestedCount;
  if (foundCount != null) result.foundCount = foundCount;
  return result;
}