isWAV property

bool get isWAV

Checks if a file path or URL represents a WAV audio file.

Implementation

bool get isWAV {
  final mt = mimeType();
  return mt == 'audio/wav' || mt == 'audio/x-wav';
}