ExchangeCreateContract.deserialize constructor
Implementation
factory ExchangeCreateContract.deserialize(List<int> bytes) {
final decode = TronProtocolBufferImpl.decode(bytes);
return ExchangeCreateContract(
ownerAddress: TronAddress.fromBytes(decode.getField(1)),
firstTokenId: decode.getField(2),
firstTokenBalance: decode.getField(3),
secondTokenId: decode.getField(4),
secondTokenBalance: decode.getField(5));
}