updateAssetState method
Updates the asset state in the asset graph.
Implementation
@override
void updateAssetState(String id, AssetState state) {
if (assets.containsKey(id)) {
assets[id]![GraphIndex.assetState] = state.index;
} else {
throw Exception('Asset not found: $id');
}
}