toJson method
Implementation
Map<String, dynamic> toJson() => {
'id': id,
'type': type,
'fromAccountIndex': fromAccountIndex,
'toAccountIndex': toAccountIndex,
'toEthereumAddress': toEthereumAddress,
'toBjj': toBjj,
'tokenId': tokenId,
'amount': amount,
'fee': fee,
'nonce': nonce,
'state': state,
'signature': signature,
'timestamp': timestamp,
'batchNum': batchNum,
'rqFromAccountIndex': rqFromAccountIndex,
'rqToAccountIndex': rqToAccountIndex,
'rqToEthereumAddress': rqToEthereumAddress,
'rqToBJJ': rqToBJJ,
'rqTokenId': rqTokenId,
'rqAmount': rqAmount,
'rqFee': rqFee,
'rqNonce': rqNonce,
'tokenSymbol': tokenSymbol,
};