setDebugMode method

Future<void> setDebugMode(
  1. bool mode
)

Implementation

Future<void> setDebugMode(bool mode) async {
  if (Platform.isAndroid) {
    try {
      await _channel.invokeMethod('setDebugMode', <String, dynamic>{
        'mode': mode,
      });
    } catch (e) {
      print(e.toString());
    }
  }
}