resetLocalDocs method

void resetLocalDocs({
  1. bool doNotifyListeners = true,
})

Resets the local documents to their initial value.

Implementation

void resetLocalDocs({bool doNotifyListeners = true}) {
  log.debug('Resetting local docs to initial value');
  docsNotifier.update(
    initialDocs(),
    doNotifyListeners: doNotifyListeners,
  );
}