copyWith method

TransactionsSyncResponse copyWith({
  1. List<Transaction>? added,
  2. List<Transaction>? modified,
  3. List<RemovedTransaction>? removed,
  4. String? nextCursor,
  5. bool? hasMore,
  6. String? requestId,
})

Implementation

TransactionsSyncResponse copyWith(
    {List<Transaction>? added,
    List<Transaction>? modified,
    List<RemovedTransaction>? removed,
    String? nextCursor,
    bool? hasMore,
    String? requestId}) {
  return TransactionsSyncResponse(
      added: added ?? this.added,
      modified: modified ?? this.modified,
      removed: removed ?? this.removed,
      nextCursor: nextCursor ?? this.nextCursor,
      hasMore: hasMore ?? this.hasMore,
      requestId: requestId ?? this.requestId);
}