toAuthDecision method
Implementation
AuthDecision toAuthDecision() {
switch (this) {
case 'ALLOWED':
return AuthDecision.allowed;
case 'EXPLICIT_DENY':
return AuthDecision.explicitDeny;
case 'IMPLICIT_DENY':
return AuthDecision.implicitDeny;
}
throw Exception('$this is not known in enum AuthDecision');
}