getQuestionsAndAnswersByPollId method
Implementation
Map<QuestionModel, List<AnswerModel>> getQuestionsAndAnswersByPollId(String pollId) {
return Map.fromEntries(
_expandableDetailList.entries
.where((entry) => entry.key.pollId == pollId) // Filter by pollId
);
}