I have problems removing repeated data from a nested list, I need to remove the records that are not repeated in the index 0 of the list, but the Set method is not doing anything when the list is nested.
for (int i = 0; i < items.length; i++) {
sections.add([items[i].sectionG, items[i].logo]);
}
sections = sections.toSet().toList();
Imagen de la estructura de la lista
When I go through Set I get back the same structure as before.