BuyCryptoConfig.fromJson constructor

BuyCryptoConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

BuyCryptoConfig.fromJson(Map<String, dynamic> json)
    : walletAddress = json['wallet_address'],
      cryptoCoin = json['crypto_coin'],
      fiatCoin = json['fiat_coin'],
      fiatAmt = json['fiat_amt'],
      chainInfo = _processChainInfo(json['chain_info']),
      fixFiatCoin = json['fix_fiat_coin'],
      fixFiatAmt = json['fix_fiat_amt'],
      fixCryptoCoin = json['fix_crypto_coin'],
      theme = json['theme'],
      language = json['language'];