You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

40 lines
1.3 KiB

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<String, dynamic> json) {
id = json['id'];
totalBalance = json['totalBalance'];
availableBalance = json['availableBalance'];
frozenBalance = json['frozenBalance'];
availableWithdrawBalance = json['availableWithdrawBalance'];
settlementBalance = json['settlementBalance'];
totalWithdrawBalance = json['totalWithdrawBalance'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
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;
}
}