@override Future<void> logout() async { try{ await methodChannel.invokeMethod<void>('logout'); } catch (e) { debugPrint("Failed to logout: $e"); } }