toValue method
Implementation
String toValue() {
switch (this) {
case EventScopeCode.public:
return 'PUBLIC';
case EventScopeCode.accountSpecific:
return 'ACCOUNT_SPECIFIC';
case EventScopeCode.none:
return 'NONE';
}
}