setDebugMode static method
Implementation
static Future<void> setDebugMode(bool enabled) async {
try {
await _channel.invokeMethod('setDebugMode', {'enabled': enabled});
} on PlatformException catch (e) {
// ignore: avoid_print
print('Failed to set debug mode: ${e.message}');
}
}