directoryPath property
String?
get
directoryPath
Gets the directory path
Returns the directory path or null if path is invalid
Example:
final file = File('/path/to/document.pdf');
print(file.directory); // "/path/to"
Implementation
String? get directoryPath => QFileInfoUtils.getDirectory(path);