PoolTransaction.fromJson constructor
PoolTransaction.fromJson(
- Map<String, dynamic> json
)
Implementation
factory PoolTransaction.fromJson(Map<String, dynamic> json) {
Token token = Token.fromJson(json['token']);
return PoolTransaction(
amount: json['amount'],
fee: json['fee'],
fromAccountIndex: json['fromAccountIndex'],
fromBJJ: json['fromBJJ'],
fromHezEthereumAddress: json['fromHezEthereumAddress'],
id: json['id'],
info: json['info'],
nonce: json['nonce'],
requestAmount: json['requestAmount'],
requestFee: json['requestFee'],
requestFromAccountIndex: json['requestFromAccountIndex'],
requestNonce: json['requestNonce'],
requestToAccountIndex: json['requestToAccountIndex'],
requestToBJJ: json['requestToBJJ'],
requestToHezEthereumAddress: json['requestToHezEthereumAddress'],
requestTokenId: json['requestTokenId'],
signature: json['signature'],
state: json['state'],
timestamp: json['timestamp'],
toAccountIndex: json['toAccountIndex'],
toBjj: json['toBjj'],
toHezEthereumAddress: json['toHezEthereumAddress'],
token: token,
type: json['type'],
);
}