toValue method

String toValue()

Implementation

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