copyWith method

PayStubDistributionBreakdown copyWith({
  1. String? accountName,
  2. String? bankName,
  3. double? currentAmount,
  4. String? isoCurrencyCode,
  5. String? mask,
  6. String? type,
  7. String? unofficialCurrencyCode,
})

Implementation

PayStubDistributionBreakdown copyWith(
    {String? accountName,
    String? bankName,
    double? currentAmount,
    String? isoCurrencyCode,
    String? mask,
    String? type,
    String? unofficialCurrencyCode}) {
  return PayStubDistributionBreakdown(
      accountName: accountName ?? this.accountName,
      bankName: bankName ?? this.bankName,
      currentAmount: currentAmount ?? this.currentAmount,
      isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
      mask: mask ?? this.mask,
      type: type ?? this.type,
      unofficialCurrencyCode:
          unofficialCurrencyCode ?? this.unofficialCurrencyCode);
}