downloadModel method

  1. @override
Stream<ModelDownloadStatus> downloadModel()
override

Asks the OS / browser to download the model, reporting progress.

The stream completes when the model is ready or the download failed.

Implementation

@override
Stream<ModelDownloadStatus> downloadModel() => Stream.value(
  const ModelDownloadStatus(
    status: ModelFeatureStatus.unavailable,
    errorMessage: _message,
  ),
);