authenticatorTransportFromValue static method
Implementation
static AuthenticatorTransport? authenticatorTransportFromValue(String s) {
AuthenticatorTransport? a;
for (AuthenticatorTransport element in AuthenticatorTransport.values) {
if (s == describeEnum(element)) {
a = element;
}
}
if (a == null) {
throw IllegalParameterException('No enum AuthenticatorTransport $s');
} else {
return a;
}
}