toInputSecurityGroupState method
Implementation
InputSecurityGroupState toInputSecurityGroupState() {
switch (this) {
case 'IDLE':
return InputSecurityGroupState.idle;
case 'IN_USE':
return InputSecurityGroupState.inUse;
case 'UPDATING':
return InputSecurityGroupState.updating;
case 'DELETED':
return InputSecurityGroupState.deleted;
}
throw Exception('$this is not known in enum InputSecurityGroupState');
}