TransactionCoinTo constructor

TransactionCoinTo({
  1. String? toAddress,
  2. int? assetsChainid,
  3. int? assetsId,
  4. List<int>? idAmount,
  5. int? lockTime,
})

Implementation

factory TransactionCoinTo({
  $core.String? toAddress,
  $core.int? assetsChainid,
  $core.int? assetsId,
  $core.List<$core.int>? idAmount,
  $core.int? lockTime,
}) {
  final _result = create();
  if (toAddress != null) {
    _result.toAddress = toAddress;
  }
  if (assetsChainid != null) {
    _result.assetsChainid = assetsChainid;
  }
  if (assetsId != null) {
    _result.assetsId = assetsId;
  }
  if (idAmount != null) {
    _result.idAmount = idAmount;
  }
  if (lockTime != null) {
    _result.lockTime = lockTime;
  }
  return _result;
}