isMP3 property

bool get isMP3

Checks if a file path or URL represents an MP3 audio file.

Implementation

bool get isMP3 {
  final mt = mimeType();
  return mt == 'audio/mpeg';
}