TransferContract.deserialize constructor
Implementation
factory TransferContract.deserialize(List<int> bytes) {
final decode = TronProtocolBufferImpl.decode(bytes);
return TransferContract(
amount: decode.getField(3),
toAddress: TronAddress.fromBytes(decode.getField(2)),
ownerAddress: TronAddress.fromBytes(decode.getField(1)));
}