copyWith method
Returns a copy of SecurityFlags with updated values.
Implementation
SecurityFlags copyWith({
bool? isVpnDetected,
bool? isDnsSpoofed,
bool? isProxyDetected,
String? interfaceName,
}) {
return SecurityFlags(
isVpnDetected: isVpnDetected ?? this.isVpnDetected,
isDnsSpoofed: isDnsSpoofed ?? this.isDnsSpoofed,
isProxyDetected: isProxyDetected ?? this.isProxyDetected,
interfaceName: interfaceName ?? this.interfaceName,
);
}