isAudio property
bool
get
isAudio
Checks if a file path or URL represents an audio file.
Implementation
bool get isAudio {
final mt = mimeType();
return mt?.startsWith('audio/') ?? false;
}
Checks if a file path or URL represents an audio file.
bool get isAudio {
final mt = mimeType();
return mt?.startsWith('audio/') ?? false;
}