toFilterRuleName method
Implementation
FilterRuleName toFilterRuleName() {
switch (this) {
case 'prefix':
return FilterRuleName.prefix;
case 'suffix':
return FilterRuleName.suffix;
}
throw Exception('$this is not known in enum FilterRuleName');
}