toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SubscriberStatus.confirmed:
      return 'CONFIRMED';
    case SubscriberStatus.declined:
      return 'DECLINED';
  }
}