toRuleState method
Implementation
RuleState toRuleState() {
switch (this) {
case 'ENABLED':
return RuleState.enabled;
case 'DISABLED':
return RuleState.disabled;
}
throw Exception('$this is not known in enum RuleState');
}
RuleState toRuleState() {
switch (this) {
case 'ENABLED':
return RuleState.enabled;
case 'DISABLED':
return RuleState.disabled;
}
throw Exception('$this is not known in enum RuleState');
}