DownloadCancelRequest constructor

DownloadCancelRequest({
  1. String? taskId,
  2. String? modelId,
  3. bool? deletePartialBytes,
})

Implementation

factory DownloadCancelRequest({
  $core.String? taskId,
  $core.String? modelId,
  $core.bool? deletePartialBytes,
}) {
  final result = create();
  if (taskId != null) result.taskId = taskId;
  if (modelId != null) result.modelId = modelId;
  if (deletePartialBytes != null)
    result.deletePartialBytes = deletePartialBytes;
  return result;
}