v1AuthenticatorTransportToJson function

dynamic v1AuthenticatorTransportToJson(
  1. v1AuthenticatorTransport value
)

Implementation

dynamic v1AuthenticatorTransportToJson(v1AuthenticatorTransport value) {
  switch (value) {
    case v1AuthenticatorTransport.authenticator_transport_ble: return "AUTHENTICATOR_TRANSPORT_BLE";
    case v1AuthenticatorTransport.authenticator_transport_internal: return "AUTHENTICATOR_TRANSPORT_INTERNAL";
    case v1AuthenticatorTransport.authenticator_transport_nfc: return "AUTHENTICATOR_TRANSPORT_NFC";
    case v1AuthenticatorTransport.authenticator_transport_usb: return "AUTHENTICATOR_TRANSPORT_USB";
    case v1AuthenticatorTransport.authenticator_transport_hybrid: return "AUTHENTICATOR_TRANSPORT_HYBRID";
  }
}