sizeOfFile method
Returns the size of a file at path
if it exists.
Otherwise throws a FileSystemException.
Implementation
@override
int sizeOfFile(String path) {
final type = _recognizeType(path);
if (type == null) {
return _memory.sizeOfFile(path);
} else {
return _files[type]!.getSize();
}
}