toInputStatus method
Implementation
InputStatus toInputStatus() {
switch (this) {
case 'CREATING':
return InputStatus.creating;
case 'UPDATING':
return InputStatus.updating;
case 'ACTIVE':
return InputStatus.active;
case 'DELETING':
return InputStatus.deleting;
}
throw Exception('$this is not known in enum InputStatus');
}