clear method
Clears all data for a specific userId, including pending operations.
This is a destructive action and should be used with care, for example, when a user logs out and their local data should be wiped.
Implementation
Future<void> clear(String userId) async {
await localAdapter.clearUserData(userId);
}