isAudioFile property

bool get isAudioFile

Checks if this file path represents an audio file

Returns true if the file is likely an audio file based on extension

Example:

print('/path/to/song.mp3'.isAudioFile); // true

Implementation

bool get isAudioFile => QFileInfoUtils.isAudio(this);