TriggerSmartContract constructor
TriggerSmartContract({
- required TronAddress ownerAddress,
- required TronAddress contractAddress,
- BigInt? callValue,
- List<
int> ? data, - BigInt? callTokenValue,
- BigInt? tokenId,
Create a new TriggerSmartContract instance with specified parameters.
Implementation
TriggerSmartContract(
{required this.ownerAddress,
required this.contractAddress,
this.callValue,
List<int>? data,
this.callTokenValue,
this.tokenId})
: data = BytesUtils.tryToBytes(data, unmodifiable: true);