isAudio property

bool isAudio

Checks if this is an audio media

Implementation

bool get isAudio => mediaType.startsWith('audio/');