toJson method
Implementation
Map<String, dynamic> toJson() {
final concurrentDeploymentPercentage = this.concurrentDeploymentPercentage;
final downloadConditionFile = this.downloadConditionFile;
final failureThresholdPercentage = this.failureThresholdPercentage;
final robotDeploymentTimeoutInSeconds =
this.robotDeploymentTimeoutInSeconds;
return {
if (concurrentDeploymentPercentage != null)
'concurrentDeploymentPercentage': concurrentDeploymentPercentage,
if (downloadConditionFile != null)
'downloadConditionFile': downloadConditionFile,
if (failureThresholdPercentage != null)
'failureThresholdPercentage': failureThresholdPercentage,
if (robotDeploymentTimeoutInSeconds != null)
'robotDeploymentTimeoutInSeconds': robotDeploymentTimeoutInSeconds,
};
}