v1AuthenticatorTransportFromJson function
Implementation
v1AuthenticatorTransport v1AuthenticatorTransportFromJson(dynamic value) {
switch (value) {
case 'AUTHENTICATOR_TRANSPORT_BLE': return v1AuthenticatorTransport.authenticator_transport_ble;
case 'AUTHENTICATOR_TRANSPORT_INTERNAL': return v1AuthenticatorTransport.authenticator_transport_internal;
case 'AUTHENTICATOR_TRANSPORT_NFC': return v1AuthenticatorTransport.authenticator_transport_nfc;
case 'AUTHENTICATOR_TRANSPORT_USB': return v1AuthenticatorTransport.authenticator_transport_usb;
case 'AUTHENTICATOR_TRANSPORT_HYBRID': return v1AuthenticatorTransport.authenticator_transport_hybrid;
default: throw ArgumentError('Unknown v1AuthenticatorTransport: $value');
}
}