copyWithWrapped method
TransactionsSyncResponse
copyWithWrapped({
- Wrapped<
List< ? added,Transaction> > - Wrapped<
List< ? modified,Transaction> > - Wrapped<
List< ? removed,RemovedTransaction> > - Wrapped<
String> ? nextCursor, - Wrapped<
bool> ? hasMore, - Wrapped<
String> ? requestId,
Implementation
TransactionsSyncResponse copyWithWrapped(
{Wrapped<List<Transaction>>? added,
Wrapped<List<Transaction>>? modified,
Wrapped<List<RemovedTransaction>>? removed,
Wrapped<String>? nextCursor,
Wrapped<bool>? hasMore,
Wrapped<String>? requestId}) {
return TransactionsSyncResponse(
added: (added != null ? added.value : this.added),
modified: (modified != null ? modified.value : this.modified),
removed: (removed != null ? removed.value : this.removed),
nextCursor: (nextCursor != null ? nextCursor.value : this.nextCursor),
hasMore: (hasMore != null ? hasMore.value : this.hasMore),
requestId: (requestId != null ? requestId.value : this.requestId));
}