stopProcessMonitoring method
停止监听进程事件
Implementation
@override
Future<bool> stopProcessMonitoring() async {
try {
final result = await methodChannel.invokeMethod<bool>(
'stopProcessMonitoring',
);
return result ?? false;
} catch (e) {
debugPrint('Error stopping process monitoring: $e');
return false;
}
}