toString method

  1. @override
String toString()
override

Returns a string representation of the TransactionInfo object.

Implementation

@override
String toString() {
  return '''
    TransactionInfo {
      accessList: $accessList,
      blockHash: $blockHash,
      blockNumber: $blockNumber,
      chainId: $chainId,
      from: $from,
      gas: $gas,
      gasPrice: $gasPrice,
      hash: $hash,
      input: $input,
      maxFeePerGas: $maxFeePerGas,
      value: $value,
      maxPriorityFeePerGas: $maxPriorityFeePerGas,
      nonce: $nonce,
      to: $to,
      transactionIndex: $transactionIndex,
      type: $type,
      r: $r,
      s: $s,
      v: $v,
      yParity: $yParity,
    }
  ''';
}