Future<void> addLog(String event) async { await methodChannel.invokeMethod<bool>('setLog', {"event": event}); }