selectAsset method
void
selectAsset(
- A entity
Implementation
void selectAsset(A entity) {
if (maxAssets != null && selectedCount >= maxAssets!) {
return;
}
provider?.selectAssetEntity(entity);
if (!isSelectedPreviewing) {
selectedAssets?.add(entity);
}
if (selectedCount != selectedNotifier.value) {
selectedNotifier.value = selectedCount;
}
}