toValue method
Implementation
String toValue() {
switch (this) {
case TriggerState.creating:
return 'CREATING';
case TriggerState.created:
return 'CREATED';
case TriggerState.activating:
return 'ACTIVATING';
case TriggerState.activated:
return 'ACTIVATED';
case TriggerState.deactivating:
return 'DEACTIVATING';
case TriggerState.deactivated:
return 'DEACTIVATED';
case TriggerState.deleting:
return 'DELETING';
case TriggerState.updating:
return 'UPDATING';
}
}