toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ContainerStatus.active:
      return 'ACTIVE';
    case ContainerStatus.creating:
      return 'CREATING';
    case ContainerStatus.deleting:
      return 'DELETING';
  }
}