Transaction.deserialize constructor

Transaction.deserialize(
  1. List<int> bytes
)

Implementation

factory Transaction.deserialize(List<int> bytes) {
  final decode = TronProtocolBufferImpl.decode(bytes);
  return Transaction(
      rawData: TransactionRaw.deserialize(decode.getField(1)),
      signature: decode.getField(2));
}