@override Future<void> logout() async { try { await verloopMethods.invokeMethod('logout'); } on PlatformException catch (e) { log("Failed to logout: '${e.message}'."); } }