toContainerCondition method
Implementation
ContainerCondition toContainerCondition() {
switch (this) {
case 'START':
return ContainerCondition.start;
case 'COMPLETE':
return ContainerCondition.complete;
case 'SUCCESS':
return ContainerCondition.success;
case 'HEALTHY':
return ContainerCondition.healthy;
}
throw Exception('$this is not known in enum ContainerCondition');
}