getDebugModeStatus method
A stream that emits the current debug mode status.
On Android, this checks if ADB/USB Debugging is enabled in Developer Options.
On iOS, this checks if the app is currently running under a debugger (e.g., Xcode).
Emits true if debug mode is active, and false otherwise.
Implementation
Stream<bool?> getDebugModeStatus() {
return DeviceSecurityPlatform.instance.getDebugModeStatus();
}