unSelectAsset method

void unSelectAsset(
  1. Asset item
)

Un-select asset. 取消选中资源

Implementation

void unSelectAsset(Asset item) {
  final List<Asset> _set = List<Asset>.from(selectedAssets);
  _set.remove(item);
  selectedAssets = _set;
}