Transfer constructor
Transfer({
- String? toAddress,
- String? changeAddress,
- Int64? amount,
- TokenBundle? tokenAmount,
- bool? useMaxAmount,
- Int64? forceFee,
Implementation
factory Transfer({
$core.String? toAddress,
$core.String? changeAddress,
$fixnum.Int64? amount,
TokenBundle? tokenAmount,
$core.bool? useMaxAmount,
$fixnum.Int64? forceFee,
}) {
final _result = create();
if (toAddress != null) {
_result.toAddress = toAddress;
}
if (changeAddress != null) {
_result.changeAddress = changeAddress;
}
if (amount != null) {
_result.amount = amount;
}
if (tokenAmount != null) {
_result.tokenAmount = tokenAmount;
}
if (useMaxAmount != null) {
_result.useMaxAmount = useMaxAmount;
}
if (forceFee != null) {
_result.forceFee = forceFee;
}
return _result;
}