installModel static method
- @Deprecated('Use installInferenceModel() or installEmbeddingModel() for type-safe API')
Start building a model installation (deprecated)
Use installInferenceModel or installEmbeddingModel instead for type-safe API.
Example:
await FlutterGemma.installModel()
.fromNetwork('https://example.com/model.bin')
.withProgress((p) => print(p))
.install();
Implementation
@Deprecated('Use installInferenceModel() or installEmbeddingModel() for type-safe API')
static ModelInstallationBuilder installModel() {
return ModelInstallationBuilder();
}