disposeTestStorage static method
void
disposeTestStorage()
Removes the process-owned backing directory used by mocked path provider calls. It is recreated lazily for the next test process.
Implementation
static void disposeTestStorage() {
final path = _testStoragePath;
_testStoragePath = null;
if (path != null) {
final directory = Directory(path);
if (directory.existsSync()) directory.deleteSync(recursive: true);
}
_secureStorage.clear();
}