ReIndexStatus constructor

ReIndexStatus({
  1. BackgroundProcessId? processId,
  2. ReIndexRequest? request,
  3. ReIndexStatus_ReIndexStatusType? status,
  4. Timestamp? started,
  5. Int32Value? totalBatches,
  6. Int32Value? batchesComplete,
  7. Int32Value? itemsPerBatch,
})

Implementation

factory ReIndexStatus({
  $1.BackgroundProcessId? processId,
  ReIndexRequest? request,
  ReIndexStatus_ReIndexStatusType? status,
  $4.Timestamp? started,
  $5.Int32Value? totalBatches,
  $5.Int32Value? batchesComplete,
  $5.Int32Value? itemsPerBatch,
}) {
  final result = create();
  if (processId != null) result.processId = processId;
  if (request != null) result.request = request;
  if (status != null) result.status = status;
  if (started != null) result.started = started;
  if (totalBatches != null) result.totalBatches = totalBatches;
  if (batchesComplete != null) result.batchesComplete = batchesComplete;
  if (itemsPerBatch != null) result.itemsPerBatch = itemsPerBatch;
  return result;
}