toProductType method
Implementation
ProductType toProductType() {
switch (this) {
case 'CLOUD_FORMATION_TEMPLATE':
return ProductType.cloudFormationTemplate;
case 'MARKETPLACE':
return ProductType.marketplace;
}
throw Exception('$this is not known in enum ProductType');
}