copyWithWrapped method

IncomeVerificationPrecheckResponse copyWithWrapped({
  1. Wrapped<String>? precheckId,
  2. Wrapped<String>? requestId,
  3. Wrapped<IncomeVerificationPrecheckConfidence>? confidence,
})

Implementation

IncomeVerificationPrecheckResponse copyWithWrapped(
    {Wrapped<String>? precheckId,
    Wrapped<String>? requestId,
    Wrapped<enums.IncomeVerificationPrecheckConfidence>? confidence}) {
  return IncomeVerificationPrecheckResponse(
      precheckId: (precheckId != null ? precheckId.value : this.precheckId),
      requestId: (requestId != null ? requestId.value : this.requestId),
      confidence: (confidence != null ? confidence.value : this.confidence));
}