SudtTransfer constructor
SudtTransfer({})
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;
}