toString method

String toString ()

Returns a string representation of this object.

Implementation

String toString() {
  final String ret = "Moac Transaction :" +
      "\n" +
      "  Hash : $hash" +
      "\n" +
      "  Block Number: $blockNumber" +
      "\n" +
      "  Block Hash : $blockHash" +
      "\n" +
      "  Transaction Index : $transactionIndex" +
      "\n" +
      "  From : $from" +
      "\n" +
      "  To : $to " +
      "\n" +
      "  Value : $value" +
      "\n" +
      "  Gas : $gas" +
      "\n";

  return ret;
}