deleteLocalDocs method
Deletes multiple documents from local state.
Parameters:
ids
- The IDs of the documents to deletedoNotifyListeners
- Whether to notify listeners of the changes
Implementation
@protected
void deleteLocalDocs({
required List<String> ids,
bool doNotifyListeners = true,
}) {
log.debug('Deleting ${ids.length} local docs');
for (final id in ids) {
deleteLocalDoc(id: id, doNotifyListeners: false);
}
if (doNotifyListeners) docsPerIdInformer.rebuild();
}