copyWith method

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

Implementation

RecaptchaRequiredError copyWith(
    {String? errorType,
    String? errorCode,
    String? displayMessage,
    String? httpCode,
    String? linkUserExperience,
    String? commonCauses,
    String? troubleshootingSteps}) {
  return RecaptchaRequiredError(
      errorType: errorType ?? this.errorType,
      errorCode: errorCode ?? this.errorCode,
      displayMessage: displayMessage ?? this.displayMessage,
      httpCode: httpCode ?? this.httpCode,
      linkUserExperience: linkUserExperience ?? this.linkUserExperience,
      commonCauses: commonCauses ?? this.commonCauses,
      troubleshootingSteps:
          troubleshootingSteps ?? this.troubleshootingSteps);
}