WitnessUpdateContract constructor

WitnessUpdateContract({
  1. required TronAddress ownerAddress,
  2. List<int>? updateUrl,
})

Create a new WitnessUpdateContract instance with specified parameters.

Implementation

WitnessUpdateContract({required this.ownerAddress, List<int>? updateUrl})
    : updateUrl = BytesUtils.tryToBytes(updateUrl, unmodifiable: true);