TronRequestTriggerSmartContract.fromContract constructor
TronRequestTriggerSmartContract.fromContract(
- TriggerSmartContract contract, {
- int? permissionId,
- BigInt? feeLimit,
Implementation
factory TronRequestTriggerSmartContract.fromContract(
TriggerSmartContract contract,
{int? permissionId,
BigInt? feeLimit}) {
return TronRequestTriggerSmartContract._(
ownerAddress: contract.ownerAddress,
contractAddress: contract.contractAddress,
data: contract.data == null
? null
: BytesUtils.toHexString(contract.data!),
callTokenValue: contract.callTokenValue,
callValue: contract.callValue,
tokenId: contract.tokenId,
permissionId: permissionId,
feeLimit: feeLimit);
}