toSavingsPlanType method
Implementation
SavingsPlanType toSavingsPlanType() {
switch (this) {
case 'Compute':
return SavingsPlanType.compute;
case 'EC2Instance':
return SavingsPlanType.eC2Instance;
}
throw Exception('$this is not known in enum SavingsPlanType');
}