copyWith method
Creates a copy with updated security settings.
blockVpn: If true, VPN interfaces will be flagged.detectDnsHijack: If true, performs active DNS spoofing checks.
Implementation
SecurityConfig copyWith({
bool? blockVpn,
bool? detectDnsHijack,
}) {
return SecurityConfig(
blockVpn: blockVpn ?? this.blockVpn,
detectDnsHijack: detectDnsHijack ?? this.detectDnsHijack,
);
}