clearWorkingFile method
Unset the current working file, and clear out any cached data.
Implementation
void clearWorkingFile({bool notify = true}) {
if (_workingFile == null) {
return;
}
_workingFile = null;
_workingFileWatcher = null;
_workingFileContents = null;
_workingFileDigest = null;
_currentSample = null;
_currentElement = null;
_elements = null;
if (notify) {
notifyListeners();
}
}