copyWith method

TransactionsGetResponse copyWith({
  1. List<AccountBase>? accounts,
  2. List<Transaction>? transactions,
  3. int? totalTransactions,
  4. Item? item,
  5. String? requestId,
})

Implementation

TransactionsGetResponse copyWith(
    {List<AccountBase>? accounts,
    List<Transaction>? transactions,
    int? totalTransactions,
    Item? item,
    String? requestId}) {
  return TransactionsGetResponse(
      accounts: accounts ?? this.accounts,
      transactions: transactions ?? this.transactions,
      totalTransactions: totalTransactions ?? this.totalTransactions,
      item: item ?? this.item,
      requestId: requestId ?? this.requestId);
}