downloadModel static method

Future<void> downloadModel(
  1. ModelSpec spec, {
  2. String? token,
})

Downloads a model specification without progress tracking

Implementation

static Future<void> downloadModel(
  ModelSpec spec, {
  String? token,
}) async {
  await for (final _ in downloadModelWithProgress(spec, token: token)) {
    // Just consume the stream without emitting progress
  }
}