NativeTransfer constructor

NativeTransfer({
  1. String? toAddress,
  2. String? changeAddress,
  3. Int64? amount,
  4. bool? useMaxAmount,
})

Implementation

factory NativeTransfer({
  $core.String? toAddress,
  $core.String? changeAddress,
  $fixnum.Int64? amount,
  $core.bool? useMaxAmount,
}) {
  final result = create();
  if (toAddress != null) result.toAddress = toAddress;
  if (changeAddress != null) result.changeAddress = changeAddress;
  if (amount != null) result.amount = amount;
  if (useMaxAmount != null) result.useMaxAmount = useMaxAmount;
  return result;
}