AccountInfo.fromJson constructor
Implementation
AccountInfo.fromJson(Map<String, dynamic> json) {
address = json['address'];
blockCount = json['accountHeight'];
balanceInfoList = blockCount! > 0
? json['balanceInfoMap']
.keys
.map<BalanceInfoListItem>(
(e) => BalanceInfoListItem.fromJson(json['balanceInfoMap'][e]))
.toList()
: [];
}