Map<String, String> map = dataSnapshot.getValue(Map.class); code example
Example: java.util.HashMap has generic type parameters, please use GenericTypeIndicator instead
Map<String, Object> map = (Map<String, Object>) dataSnapshot.getValue();
Map<String, Object> map = (Map<String, Object>) dataSnapshot.getValue();