Query$checkWalletAndReputation$checkWalletAndReputation$wallet.fromJson constructor

Query$checkWalletAndReputation$checkWalletAndReputation$wallet.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Query$checkWalletAndReputation$checkWalletAndReputation$wallet.fromJson(
    Map<String, dynamic> json) {
  final l$amount = json['amount'];
  final l$walletType = json['walletType'];
  final l$coin = json['coin'];
  return Query$checkWalletAndReputation$checkWalletAndReputation$wallet(
    amount: l$amount == null ? null : decimalFromJson(l$amount),
    walletType: l$walletType == null
        ? null
        : fromJson$Enum$WalletTypeEnum((l$walletType as String)),
    coin: l$coin == null
        ? null
        : Query$checkWalletAndReputation$checkWalletAndReputation$wallet$coin
            .fromJson((l$coin as Map<String, dynamic>)),
  );
}