copyWith method

FinancialTransactionResponse copyWith({
  1. String? totalItems,
  2. List<Items>? items,
  3. List<TransactionsResponse>? transactions,
  4. Total? total,
})

Implementation

FinancialTransactionResponse copyWith({
  String? totalItems,
  List<Items>? items,
  List<TransactionsResponse>? transactions,
  Total? total,
}) {
  return FinancialTransactionResponse(
    totalItems: totalItems ?? this.totalItems,
    items: items ?? this.items,
    transactions: transactions ?? this.transactions,
    total: total ?? this.total,
  );
}