toContainerStatus method

ContainerStatus toContainerStatus()

Implementation

ContainerStatus toContainerStatus() {
  switch (this) {
    case 'ACTIVE':
      return ContainerStatus.active;
    case 'CREATING':
      return ContainerStatus.creating;
    case 'DELETING':
      return ContainerStatus.deleting;
  }
  throw Exception('$this is not known in enum ContainerStatus');
}