toConfigRuleState method
Implementation
ConfigRuleState toConfigRuleState() {
switch (this) {
case 'ACTIVE':
return ConfigRuleState.active;
case 'DELETING':
return ConfigRuleState.deleting;
case 'DELETING_RESULTS':
return ConfigRuleState.deletingResults;
case 'EVALUATING':
return ConfigRuleState.evaluating;
}
throw Exception('$this is not known in enum ConfigRuleState');
}