updateModelDownloadStatus static method

Future<void> updateModelDownloadStatus(
  1. String modelId,
  2. String? localPath
)

Update the download status for a model in C++ registry

Called by ModelDownloadService after a successful download. Matches Swift: CppBridge.ModelRegistry.shared.updateDownloadStatus()

Implementation

static Future<void> updateModelDownloadStatus(
    String modelId, String? localPath) async {
  await DartBridgeModelRegistry.instance
      .updateDownloadStatus(modelId, localPath);
}