useMemoryFileSystemForTesting function Null safety
Overrides the file system so it can be tested without hitting the hard drive.
Implementation
void useMemoryFileSystemForTesting() {
fs = MemoryFileSystem();
}
Overrides the file system so it can be tested without hitting the hard drive.
void useMemoryFileSystemForTesting() {
fs = MemoryFileSystem();
}