copyWithWrapped method

PayStubDistributionBreakdown 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,
})

Implementation

PayStubDistributionBreakdown copyWithWrapped(
    {Wrapped<String?>? accountName,
    Wrapped<String?>? bankName,
    Wrapped<double?>? currentAmount,
    Wrapped<String?>? isoCurrencyCode,
    Wrapped<String?>? mask,
    Wrapped<String?>? type,
    Wrapped<String?>? unofficialCurrencyCode}) {
  return PayStubDistributionBreakdown(
      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));
}