toSubscriptionType method

SubscriptionType toSubscriptionType()

Implementation

SubscriptionType toSubscriptionType() {
  switch (this) {
    case 'ALL':
      return SubscriptionType.all;
  }
  throw Exception('$this is not known in enum SubscriptionType');
}