toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CEStatus.creating:
      return 'CREATING';
    case CEStatus.updating:
      return 'UPDATING';
    case CEStatus.deleting:
      return 'DELETING';
    case CEStatus.deleted:
      return 'DELETED';
    case CEStatus.valid:
      return 'VALID';
    case CEStatus.invalid:
      return 'INVALID';
  }
}