toValue method
Implementation
String toValue() {
switch (this) {
case RuleTypeOption.forward:
return 'FORWARD';
case RuleTypeOption.system:
return 'SYSTEM';
case RuleTypeOption.recursive:
return 'RECURSIVE';
}
}
String toValue() {
switch (this) {
case RuleTypeOption.forward:
return 'FORWARD';
case RuleTypeOption.system:
return 'SYSTEM';
case RuleTypeOption.recursive:
return 'RECURSIVE';
}
}