setDebug method
是否开启 debug 默认 false
Implementation
Future<bool> setDebug(bool enableDebugOn) async {
if (!_supportPlatform) return false;
final bool? state =
await _channel.invokeMethod<bool?>('setDebug', enableDebugOn);
return state ?? false;
}