toContext method
Implementation
Context toContext() {
switch (this) {
case 'COST_AND_USAGE':
return Context.costAndUsage;
case 'RESERVATIONS':
return Context.reservations;
case 'SAVINGS_PLANS':
return Context.savingsPlans;
}
throw Exception('$this is not known in enum Context');
}