toBulkDeploymentStatus method
Implementation
BulkDeploymentStatus toBulkDeploymentStatus() {
switch (this) {
case 'Initializing':
return BulkDeploymentStatus.initializing;
case 'Running':
return BulkDeploymentStatus.running;
case 'Completed':
return BulkDeploymentStatus.completed;
case 'Stopping':
return BulkDeploymentStatus.stopping;
case 'Stopped':
return BulkDeploymentStatus.stopped;
case 'Failed':
return BulkDeploymentStatus.failed;
}
throw Exception('$this is not known in enum BulkDeploymentStatus');
}