Flutter – Grouping a list of Objects on Common String Value
I have this Group object class Group { final String dateFormatted; final List<Event> events; Group({required this.dateFormatted, required this.events}); } I need to fold the group so that all Groups with common dateFormatted will be merged into the same group and…