copyWithWrapped method

DistributionBreakdown copyWithWrapped({
  1. Wrapped<String?>? accountName,
  2. Wrapped<String?>? bankName,
  3. Wrapped<double?>? currentAmount,
  4. Wrapped<String?>? isoCurrencyCode,
  5. Wrapped<String?>? mask,
  6. Wrapped<String?>? type,
  7. Wrapped<String?>? unofficialCurrencyCode,
  8. Wrapped<Pay?>? currentPay,
})

Implementation

DistributionBreakdown copyWithWrapped(
    {Wrapped<String?>? accountName,
    Wrapped<String?>? bankName,
    Wrapped<double?>? currentAmount,
    Wrapped<String?>? isoCurrencyCode,
    Wrapped<String?>? mask,
    Wrapped<String?>? type,
    Wrapped<String?>? unofficialCurrencyCode,
    Wrapped<Pay?>? currentPay}) {
  return DistributionBreakdown(
      accountName:
          (accountName != null ? accountName.value : this.accountName),
      bankName: (bankName != null ? bankName.value : this.bankName),
      currentAmount:
          (currentAmount != null ? currentAmount.value : this.currentAmount),
      isoCurrencyCode: (isoCurrencyCode != null
          ? isoCurrencyCode.value
          : this.isoCurrencyCode),
      mask: (mask != null ? mask.value : this.mask),
      type: (type != null ? type.value : this.type),
      unofficialCurrencyCode: (unofficialCurrencyCode != null
          ? unofficialCurrencyCode.value
          : this.unofficialCurrencyCode),
      currentPay: (currentPay != null ? currentPay.value : this.currentPay));
}