Exit.fromJson constructor
Implementation
factory Exit.fromJson(Map<String, dynamic> json) {
Token token = Token.fromJson(json['token']);
MerkleProof merkleProof = MerkleProof.fromJson(json['merkleProof']);
return Exit(
batchNum: json['batchNum'],
accountIndex: json['accountIndex'],
itemId: json['itemId'],
merkleProof: merkleProof,
balance: json['balance'],
instantWithdraw: json['instantWithdraw'],
delayedWithdrawRequest: json['delayedWithdrawRequest'],
delayedWithdraw: json['delayedWithdraw'],
token: token,
bjj: json['bjj'],
hezEthereumAddress: json['hezEthereumAddress']);
}