notifyRemoveGroups method
Implementation
void notifyRemoveGroups(Iterable<String> gremoves) {
if(_commitNamedLayersGroupsCanRemove(gremoves)){
namedLayers.entries.where((filter)=>gremoves.contains(filter.key)).forEach((entry){
for (var cpo in entry.value) {
cpo.removeListener(_onSubPainterChanged);
}
});
_commitNamedLayersGroupsRemoved(gremoves);
notifyListeners(); // 结构变动
}
}