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