mimeType property
String?
get
mimeType
Gets the MIME type based on file extension
Returns the MIME type or null if not determined
Example:
final file = File('/path/to/document.pdf');
print(file.mimeType); // "application/pdf"
Implementation
String? get mimeType => QFileInfoUtils.getMimeType(path);