toSubscriptionType method

SubscriptionType toSubscriptionType()

Implementation

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