getSubscriptionName function
Get a human-readable subscription name.
Implementation
String getSubscriptionName() {
switch (getSubscriptionType()) {
case SubscriptionType.enterprise:
return 'Neomage Enterprise';
case SubscriptionType.team:
return 'Neomage Team';
case SubscriptionType.max:
return 'Neomage Max';
case SubscriptionType.pro:
return 'Neomage Pro';
default:
return 'Neomage API';
}
}