toForwardedIPPosition method
Implementation
ForwardedIPPosition toForwardedIPPosition() {
switch (this) {
case 'FIRST':
return ForwardedIPPosition.first;
case 'LAST':
return ForwardedIPPosition.last;
case 'ANY':
return ForwardedIPPosition.any;
}
throw Exception('$this is not known in enum ForwardedIPPosition');
}