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);
Returns whether all the resources in the collection are audio clips.
bool get allAreAudio => isNotEmpty && every((it) => it.mediaType.isAudio);