请求原生侧立即刷新缓冲区到磁盘。
@override /// 请求原生侧立即刷新缓冲区到磁盘。 Future<void> flushLogs() async { try { await methodChannel.invokeMethod<void>('flushLogs'); } catch (_) { // Ignore flush failures. } }