unSelectAsset method

void unSelectAsset(
  1. Asset entity
)

Implementation

void unSelectAsset(Asset entity) {
  provider?.unSelectAsset(entity);
  selectorProvider?.unSelectAsset(entity);
  if (!isSelectedPreviewing) {
    selectedAssets?.remove(entity);
  }
  selectedNotifier.value = selectedCount;
}