copyWith method
Creates a copy of this ProxyValidationOptions with the given parameters
Implementation
ProxyValidationOptions copyWith({
String? testUrl,
int? timeout,
bool? updateScore,
bool? validateHttps,
bool? validateSocks,
bool? validateWebsockets,
bool? logErrors,
bool? categorizeErrors,
}) {
return ProxyValidationOptions(
testUrl: testUrl ?? this.testUrl,
timeout: timeout ?? this.timeout,
updateScore: updateScore ?? this.updateScore,
validateHttps: validateHttps ?? this.validateHttps,
validateSocks: validateSocks ?? this.validateSocks,
validateWebsockets: validateWebsockets ?? this.validateWebsockets,
logErrors: logErrors ?? this.logErrors,
categorizeErrors: categorizeErrors ?? this.categorizeErrors,
);
}