toUserContextPolicy method
Implementation
UserContextPolicy toUserContextPolicy() {
switch (this) {
case 'ATTRIBUTE_FILTER':
return UserContextPolicy.attributeFilter;
case 'USER_TOKEN':
return UserContextPolicy.userToken;
}
throw Exception('$this is not known in enum UserContextPolicy');
}