updateInformationItems method
Implementation
void updateInformationItems(List<CPInformationItem> newItems) {
final copy = List<CPInformationItem>.from(newItems);
informationItems
..clear()
..addAll(copy);
}
void updateInformationItems(List<CPInformationItem> newItems) {
final copy = List<CPInformationItem>.from(newItems);
informationItems
..clear()
..addAll(copy);
}