TransferTRC20Contract constructor

TransferTRC20Contract({
  1. String? contractAddress,
  2. String? ownerAddress,
  3. String? toAddress,
  4. List<int>? amount,
})

Implementation

factory TransferTRC20Contract({
  $core.String? contractAddress,
  $core.String? ownerAddress,
  $core.String? toAddress,
  $core.List<$core.int>? amount,
}) {
  final _result = create();
  if (contractAddress != null) {
    _result.contractAddress = contractAddress;
  }
  if (ownerAddress != null) {
    _result.ownerAddress = ownerAddress;
  }
  if (toAddress != null) {
    _result.toAddress = toAddress;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  return _result;
}