DownloadStartRequest constructor

DownloadStartRequest({
  1. String? modelId,
  2. DownloadPlanResult? plan,
  3. bool? skipRegistryUpdate,
})

Implementation

factory DownloadStartRequest({
  $core.String? modelId,
  DownloadPlanResult? plan,
  $core.bool? skipRegistryUpdate,
}) {
  final result = create();
  if (modelId != null) result.modelId = modelId;
  if (plan != null) result.plan = plan;
  if (skipRegistryUpdate != null)
    result.skipRegistryUpdate = skipRegistryUpdate;
  return result;
}