toValue method
Implementation
String toValue() {
switch (this) {
case SubscriptionType.sns:
return 'SNS';
case SubscriptionType.email:
return 'EMAIL';
}
}
String toValue() {
switch (this) {
case SubscriptionType.sns:
return 'SNS';
case SubscriptionType.email:
return 'EMAIL';
}
}