copyWithWrapped method

WorkspaceBatchCallsResponse copyWithWrapped({
  1. Wrapped<List<BatchCallResponse>>? batchCalls,
  2. Wrapped? nextDoc,
  3. Wrapped<bool?>? hasMore,
})

Implementation

WorkspaceBatchCallsResponse copyWithWrapped(
    {Wrapped<List<BatchCallResponse>>? batchCalls,
    Wrapped<dynamic>? nextDoc,
    Wrapped<bool?>? hasMore}) {
  return WorkspaceBatchCallsResponse(
      batchCalls: (batchCalls != null ? batchCalls.value : this.batchCalls),
      nextDoc: (nextDoc != null ? nextDoc.value : this.nextDoc),
      hasMore: (hasMore != null ? hasMore.value : this.hasMore));
}