Transaction constructor

Transaction({
  1. String? id,
  2. String? type,
  3. String? fromAccountIndex,
  4. String? toAccountIndex,
  5. String? toEthereumAddress,
  6. String? toBjj,
  7. int? tokenId,
  8. String? amount,
  9. int? fee,
  10. int? nonce,
  11. String? state,
  12. String? signature,
  13. String? timestamp,
  14. int? batchNum,
  15. String? rqFromAccountIndex,
  16. String? rqToAccountIndex,
  17. String? rqToEthereumAddress,
  18. String? rqToBJJ,
  19. int? rqTokenId,
  20. String? rqAmount,
  21. int? rqFee,
  22. int? rqNonce,
  23. String? tokenSymbol,
})

Implementation

Transaction(
    {this.id,
    this.type,
    this.fromAccountIndex,
    this.toAccountIndex,
    this.toEthereumAddress,
    this.toBjj,
    this.tokenId,
    this.amount,
    this.fee,
    this.nonce,
    this.state,
    this.signature,
    this.timestamp,
    this.batchNum,
    this.rqFromAccountIndex,
    this.rqToAccountIndex,
    this.rqToEthereumAddress,
    this.rqToBJJ,
    this.rqTokenId,
    this.rqAmount,
    this.rqFee,
    this.rqNonce,
    this.tokenSymbol});