toLicenseType method

LicenseType toLicenseType()

Implementation

LicenseType toLicenseType() {
  switch (this) {
    case 'AWS':
      return LicenseType.aws;
    case 'BYOL':
      return LicenseType.byol;
  }
  throw Exception('$this is not known in enum LicenseType');
}