v1FiatOnRampCryptoCurrencyToJson function
Implementation
dynamic v1FiatOnRampCryptoCurrencyToJson(v1FiatOnRampCryptoCurrency value) {
switch (value) {
case v1FiatOnRampCryptoCurrency.fiat_on_ramp_crypto_currency_unspecified:
return "FIAT_ON_RAMP_CRYPTO_CURRENCY_UNSPECIFIED";
case v1FiatOnRampCryptoCurrency.fiat_on_ramp_crypto_currency_btc:
return "FIAT_ON_RAMP_CRYPTO_CURRENCY_BTC";
case v1FiatOnRampCryptoCurrency.fiat_on_ramp_crypto_currency_eth:
return "FIAT_ON_RAMP_CRYPTO_CURRENCY_ETH";
case v1FiatOnRampCryptoCurrency.fiat_on_ramp_crypto_currency_sol:
return "FIAT_ON_RAMP_CRYPTO_CURRENCY_SOL";
case v1FiatOnRampCryptoCurrency.fiat_on_ramp_crypto_currency_usdc:
return "FIAT_ON_RAMP_CRYPTO_CURRENCY_USDC";
}
}