copyWithWrapped method

SignalEvaluateResponse copyWithWrapped({
  1. Wrapped<String>? requestId,
  2. Wrapped<SignalScores>? scores,
  3. Wrapped<SignalEvaluateCoreAttributes?>? coreAttributes,
})

Implementation

SignalEvaluateResponse copyWithWrapped(
    {Wrapped<String>? requestId,
    Wrapped<SignalScores>? scores,
    Wrapped<SignalEvaluateCoreAttributes?>? coreAttributes}) {
  return SignalEvaluateResponse(
      requestId: (requestId != null ? requestId.value : this.requestId),
      scores: (scores != null ? scores.value : this.scores),
      coreAttributes: (coreAttributes != null
          ? coreAttributes.value
          : this.coreAttributes));
}