allAreVideo property
bool
get
allAreVideo
Returns whether all the resources in the collection are video clips.
Implementation
bool get allAreVideo => isNotEmpty && every((it) => it.mediaType.isVideo);
Returns whether all the resources in the collection are video clips.
bool get allAreVideo => isNotEmpty && every((it) => it.mediaType.isVideo);