copyWithWrapped method

TransactionsEnrichGetResponse copyWithWrapped({
  1. Wrapped<List<ClientProvidedEnrichedTransaction>>? enrichedTransactions,
  2. Wrapped<String?>? requestId,
})

Implementation

TransactionsEnrichGetResponse copyWithWrapped(
    {Wrapped<List<ClientProvidedEnrichedTransaction>>? enrichedTransactions,
    Wrapped<String?>? requestId}) {
  return TransactionsEnrichGetResponse(
      enrichedTransactions: (enrichedTransactions != null
          ? enrichedTransactions.value
          : this.enrichedTransactions),
      requestId: (requestId != null ? requestId.value : this.requestId));
}