toPortfolioShareType method
Implementation
PortfolioShareType toPortfolioShareType() {
switch (this) {
case 'IMPORTED':
return PortfolioShareType.imported;
case 'AWS_SERVICECATALOG':
return PortfolioShareType.awsServicecatalog;
case 'AWS_ORGANIZATIONS':
return PortfolioShareType.awsOrganizations;
}
throw Exception('$this is not known in enum PortfolioShareType');
}