/// 充值记录 - GET uc/asset/recharge-list class RechargeRecord { final String id; /// 交易哈希(JSON: txid) final String txId; /// 币种代号(JSON: unit) final String coinName; /// 用户名(JSON: username) final String account; /// 充值地址 final String address; /// 充值金额 final String amount; /// 创建时间 final String createTime; const RechargeRecord({ this.id = '', this.txId = '', this.coinName = '', this.account = '', this.address = '', this.amount = '0', this.createTime = '', }); factory RechargeRecord.fromJson(Map json) { return RechargeRecord( id: json['id']?.toString() ?? '', txId: json['txid']?.toString() ?? '', coinName: json['unit']?.toString() ?? '', account: json['username']?.toString() ?? '', address: json['address']?.toString() ?? '', amount: json['amount']?.toString() ?? '0', createTime: json['createTime']?.toString() ?? '', ); } }