ExchangeInjectContract constructor

ExchangeInjectContract({
  1. required TronAddress ownerAddress,
  2. BigInt? exchangeId,
  3. List<int>? tokenId,
  4. BigInt? quant,
})

Create a new ExchangeInjectContract instance with specified parameters.

Implementation

ExchangeInjectContract(
    {required this.ownerAddress,
    this.exchangeId,
    List<int>? tokenId,
    this.quant})
    : tokenId = BytesUtils.tryToBytes(tokenId);