updateResults method
Implementation
void updateResults(List<CPListItem> results) {
final copy = List<CPListItem>.from(results);
_currentResults
..clear()
..addAll(copy);
}
void updateResults(List<CPListItem> results) {
final copy = List<CPListItem>.from(results);
_currentResults
..clear()
..addAll(copy);
}