ExchangeWithdrawContract.deserialize constructor

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

Implementation

factory ExchangeWithdrawContract.deserialize(List<int> bytes) {
  final decode = TronProtocolBufferImpl.decode(bytes);
  return ExchangeWithdrawContract(
      ownerAddress: TronAddress.fromBytes(decode.getField(1)),
      exchangeId: decode.getField(2),
      tokenId: decode.getField(3),
      quant: decode.getField(4));
}