toCEStatus method
Implementation
CEStatus toCEStatus() {
switch (this) {
case 'CREATING':
return CEStatus.creating;
case 'UPDATING':
return CEStatus.updating;
case 'DELETING':
return CEStatus.deleting;
case 'DELETED':
return CEStatus.deleted;
case 'VALID':
return CEStatus.valid;
case 'INVALID':
return CEStatus.invalid;
}
throw Exception('$this is not known in enum CEStatus');
}