copyWithWrapped method

ClientProvidedRawTransaction copyWithWrapped({
  1. Wrapped<String>? id,
  2. Wrapped<String>? description,
  3. Wrapped<double>? amount,
  4. Wrapped<String>? isoCurrencyCode,
})

Implementation

ClientProvidedRawTransaction copyWithWrapped(
    {Wrapped<String>? id,
    Wrapped<String>? description,
    Wrapped<double>? amount,
    Wrapped<String>? isoCurrencyCode}) {
  return ClientProvidedRawTransaction(
      id: (id != null ? id.value : this.id),
      description:
          (description != null ? description.value : this.description),
      amount: (amount != null ? amount.value : this.amount),
      isoCurrencyCode: (isoCurrencyCode != null
          ? isoCurrencyCode.value
          : this.isoCurrencyCode));
}