fileCategory property
String?
get
fileCategory
Gets the file category
Returns the file category or null if not determined
Example:
final info = await '/path/to/document.pdf'.getFileInfo();
print(info?['fileName']); // "document.pdf"
print(info?['extension']); // "pdf"
print(info?['mimeType']); // "application/pdf"
Implementation
String? get fileCategory => QFileInfoUtils.getFileCategory(this);