toLicense method

License toLicense()

Implementation

License toLicense() {
  switch (this) {
    case 'Basic':
      return License.basic;
    case 'Plus':
      return License.plus;
    case 'Pro':
      return License.pro;
    case 'ProTrial':
      return License.proTrial;
  }
  throw Exception('$this is not known in enum License');
}