copyWithWrapped method

RecaptchaRequiredError copyWithWrapped({
  1. Wrapped<String>? errorType,
  2. Wrapped<String>? errorCode,
  3. Wrapped<String>? displayMessage,
  4. Wrapped<String>? httpCode,
  5. Wrapped<String>? linkUserExperience,
  6. Wrapped<String>? commonCauses,
  7. Wrapped<String>? troubleshootingSteps,
})

Implementation

RecaptchaRequiredError copyWithWrapped(
    {Wrapped<String>? errorType,
    Wrapped<String>? errorCode,
    Wrapped<String>? displayMessage,
    Wrapped<String>? httpCode,
    Wrapped<String>? linkUserExperience,
    Wrapped<String>? commonCauses,
    Wrapped<String>? troubleshootingSteps}) {
  return RecaptchaRequiredError(
      errorType: (errorType != null ? errorType.value : this.errorType),
      errorCode: (errorCode != null ? errorCode.value : this.errorCode),
      displayMessage: (displayMessage != null
          ? displayMessage.value
          : this.displayMessage),
      httpCode: (httpCode != null ? httpCode.value : this.httpCode),
      linkUserExperience: (linkUserExperience != null
          ? linkUserExperience.value
          : this.linkUserExperience),
      commonCauses:
          (commonCauses != null ? commonCauses.value : this.commonCauses),
      troubleshootingSteps: (troubleshootingSteps != null
          ? troubleshootingSteps.value
          : this.troubleshootingSteps));
}