copyWith method

CreditBankIncomeHistoricalSummary copyWith({
  1. double? totalAmount,
  2. String? isoCurrencyCode,
  3. String? unofficialCurrencyCode,
  4. DateTime? startDate,
  5. DateTime? endDate,
  6. List<CreditBankIncomeTransaction>? transactions,
})

Implementation

CreditBankIncomeHistoricalSummary copyWith(
    {double? totalAmount,
    String? isoCurrencyCode,
    String? unofficialCurrencyCode,
    DateTime? startDate,
    DateTime? endDate,
    List<CreditBankIncomeTransaction>? transactions}) {
  return CreditBankIncomeHistoricalSummary(
      totalAmount: totalAmount ?? this.totalAmount,
      isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
      unofficialCurrencyCode:
          unofficialCurrencyCode ?? this.unofficialCurrencyCode,
      startDate: startDate ?? this.startDate,
      endDate: endDate ?? this.endDate,
      transactions: transactions ?? this.transactions);
}