useMemoryFileSystemForTesting function Null safety

void useMemoryFileSystemForTesting()

Overrides the file system so it can be tested without hitting the hard drive.

Implementation

void useMemoryFileSystemForTesting() {
  fs = MemoryFileSystem();
}