UpdateAssetContract constructor

UpdateAssetContract({
  1. required TronAddress ownerAddress,
  2. List<int>? description,
  3. List<int>? url,
  4. BigInt? newLimit,
  5. BigInt? newPublicLimit,
})

Create a new UpdateAssetContract instance with specified parameters.

Implementation

UpdateAssetContract(
    {required this.ownerAddress,
    List<int>? description,
    List<int>? url,
    this.newLimit,
    this.newPublicLimit})
    : url = BytesUtils.tryToBytes(url, unmodifiable: true),
      description = BytesUtils.tryToBytes(description, unmodifiable: true);