toAuthMode method
Implementation
AuthMode toAuthMode() {
switch (this) {
case 'SSO':
return AuthMode.sso;
case 'IAM':
return AuthMode.iam;
}
throw Exception('$this is not known in enum AuthMode');
}
AuthMode toAuthMode() {
switch (this) {
case 'SSO':
return AuthMode.sso;
case 'IAM':
return AuthMode.iam;
}
throw Exception('$this is not known in enum AuthMode');
}