toDefaultAction method
Implementation
DefaultAction toDefaultAction() {
switch (this) {
case 'ALLOW':
return DefaultAction.allow;
case 'DENY':
return DefaultAction.deny;
}
throw Exception('$this is not known in enum DefaultAction');
}