allAreAudio property

bool allAreAudio

Returns whether all the resources in the collection are audio clips.

Implementation

bool get allAreAudio => isNotEmpty && every((it) => it.mediaType.isAudio);