fileCategory property
String?
get
fileCategory
Gets the file category
Returns the file category or null if not determined
Example:
final file = File('/path/to/document.pdf');
print(file.fileCategory); // "document"
Implementation
String? get fileCategory => QFileInfoUtils.getFileCategory(path);