TriggerSmartContract constructor

TriggerSmartContract({
  1. String? ownerAddress,
  2. String? contractAddress,
  3. Int64? callValue,
  4. List<int>? data,
  5. Int64? callTokenValue,
  6. Int64? tokenId,
})

Implementation

factory TriggerSmartContract({
  $core.String? ownerAddress,
  $core.String? contractAddress,
  $fixnum.Int64? callValue,
  $core.List<$core.int>? data,
  $fixnum.Int64? callTokenValue,
  $fixnum.Int64? tokenId,
}) {
  final _result = create();
  if (ownerAddress != null) {
    _result.ownerAddress = ownerAddress;
  }
  if (contractAddress != null) {
    _result.contractAddress = contractAddress;
  }
  if (callValue != null) {
    _result.callValue = callValue;
  }
  if (data != null) {
    _result.data = data;
  }
  if (callTokenValue != null) {
    _result.callTokenValue = callTokenValue;
  }
  if (tokenId != null) {
    _result.tokenId = tokenId;
  }
  return _result;
}