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;
}