@override Future<String> getLogs() async { try { return await methodChannel.invokeMethod('logs'); } on PlatformException catch (exception) { print(exception); return ''; } }