getResource method
Return the Resource that corresponds to the given path
.
The path
must be absolute and normalized.
Implementation
@override
Resource getResource(String path) {
_ensureAbsoluteAndNormalized(path);
if (io.FileSystemEntity.isDirectorySync(path)) {
return getFolder(path);
} else {
return getFile(path);
}
}