goToParentDirectory method
Jumps to the parent directory of currently opened directory if the parent is accessible.
Implementation
Future<void> goToParentDirectory() async {
if (!(await isRootDirectory()))
openDirectory(Directory(_path.value).parent);
}