toValue method
Implementation
String toValue() {
switch (this) {
case TriggerType.scheduled:
return 'SCHEDULED';
case TriggerType.conditional:
return 'CONDITIONAL';
case TriggerType.onDemand:
return 'ON_DEMAND';
}
}