stopFileMonitoring method

  1. @override
Future<bool> stopFileMonitoring()
override

停止监听文件系统事件

Implementation

@override
Future<bool> stopFileMonitoring() async {
  try {
    final result = await methodChannel.invokeMethod<bool>(
      'stopFileMonitoring',
    );
    return result ?? false;
  } catch (e) {
    debugPrint('Error stopping file monitoring: $e');
    return false;
  }
}