updateSections method
Implementation
void updateSections(List<AAListSection> newSections) {
final copy = List<AAListSection>.from(newSections);
sections
..clear()
..addAll(copy);
}
void updateSections(List<AAListSection> newSections) {
final copy = List<AAListSection>.from(newSections);
sections
..clear()
..addAll(copy);
}