deleteAsset method
Implementation
void deleteAsset(String id) {
allAssetEntity.removeWhere((element) => id == element.id);
notifyListeners();
}
void deleteAsset(String id) {
allAssetEntity.removeWhere((element) => id == element.id);
notifyListeners();
}