isSelectedMedia method

bool isSelectedMedia(
  1. MediaFile file
)

Implementation

bool isSelectedMedia(MediaFile file) {
  return _selectedFiles.any((element) => element.id == file.id);
}