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