class WalletAccountData { String? id; num? totalBalance; num? availableBalance; num? frozenBalance; num? availableWithdrawBalance; num? settlementBalance; num? totalWithdrawBalance; WalletAccountData( {this.id, this.totalBalance, this.availableBalance, this.frozenBalance, this.availableWithdrawBalance, this.settlementBalance, this.totalWithdrawBalance}); WalletAccountData.fromJson(Map json) { id = json['id']; totalBalance = json['totalBalance']; availableBalance = json['availableBalance']; frozenBalance = json['frozenBalance']; availableWithdrawBalance = json['availableWithdrawBalance']; settlementBalance = json['settlementBalance']; totalWithdrawBalance = json['totalWithdrawBalance']; } Map toJson() { final Map data = new Map(); data['id'] = this.id; data['totalBalance'] = this.totalBalance; data['availableBalance'] = this.availableBalance; data['frozenBalance'] = this.frozenBalance; data['availableWithdrawBalance'] = this.availableWithdrawBalance; data['settlementBalance'] = this.settlementBalance; data['totalWithdrawBalance'] = this.totalWithdrawBalance; return data; } }