toUsageLimitBreachAction method
Implementation
UsageLimitBreachAction toUsageLimitBreachAction() {
switch (this) {
case 'log':
return UsageLimitBreachAction.log;
case 'emit-metric':
return UsageLimitBreachAction.emitMetric;
case 'disable':
return UsageLimitBreachAction.disable;
}
throw Exception('$this is not known in enum UsageLimitBreachAction');
}