XmrOutgoingTransfer constructor

XmrOutgoingTransfer({
  1. String? amount,
  2. int? accountIndex,
  3. Iterable<int>? subaddressIndices,
  4. Iterable<XmrDestination>? destinations,
})

Implementation

factory XmrOutgoingTransfer({
  $core.String? amount,
  $core.int? accountIndex,
  $core.Iterable<$core.int>? subaddressIndices,
  $core.Iterable<XmrDestination>? destinations,
}) {
  final $result = create();
  if (amount != null) {
    $result.amount = amount;
  }
  if (accountIndex != null) {
    $result.accountIndex = accountIndex;
  }
  if (subaddressIndices != null) {
    $result.subaddressIndices.addAll(subaddressIndices);
  }
  if (destinations != null) {
    $result.destinations.addAll(destinations);
  }
  return $result;
}