SudtTransfer constructor

SudtTransfer({
  1. String? toAddress,
  2. String? changeAddress,
  3. List<int>? sudtAddress,
  4. String? amount,
  5. bool? useMaxAmount,
})

Implementation

factory SudtTransfer({
  $core.String? toAddress,
  $core.String? changeAddress,
  $core.List<$core.int>? sudtAddress,
  $core.String? amount,
  $core.bool? useMaxAmount,
}) {
  final _result = create();
  if (toAddress != null) {
    _result.toAddress = toAddress;
  }
  if (changeAddress != null) {
    _result.changeAddress = changeAddress;
  }
  if (sudtAddress != null) {
    _result.sudtAddress = sudtAddress;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  if (useMaxAmount != null) {
    _result.useMaxAmount = useMaxAmount;
  }
  return _result;
}