isAudio static method
check string is audio
Implementation
static bool isAudio(String string) {
String _ext = string.toLowerCase();
return _ext.endsWith(".mp3") ||
_ext.endsWith(".wav") ||
_ext.endsWith(".aac") ||
_ext.endsWith(".wma");
}