logout static method
Implementation
static Future<void> logout(BuildContext context) async {
final FlutterSecureStorage secureStorage = FlutterSecureStorage();
await secureStorage.delete(key: "Entities_List");
await secureStorage.delete(key: "JWT_Token");
await secureStorage.delete(key: "Username");
await secureStorage.delete(key: "DatabaseName");
print('Logged out');
if (context.mounted) {
context.goNamed('/auth');
}
}