addItems method
Add items to local data cache
Implementation
void addItems(List<T> items) {
for (var item in items) {
if (!_localData.contains(item)) {
_localData.add(item);
}
}
_updateAllData();
// Re-emit results for current query if any
if (_currentQuery.isNotEmpty) {
search(_currentQuery);
}
}