FlutterGemmaModelManager class final

LiteRT-LM model bootstrap and installation backed by Flutter Gemma.

Implemented types

Constructors

FlutterGemmaModelManager({String? huggingFaceToken, int maxDownloadRetries = 10})

Properties

hashCode → int
The hash code for this object.
no setterinherited
huggingFaceToken → String?
final
maxDownloadRetries → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cleanup() → Future<void>
override
clearActiveModel() → Future<void>
override
getPath(String artifactName) → Future<String>
override
initialize() → Future<void>
override
install(OmnixModelInstallRequest request, {void onProgress(int progress)?, OmnixCancellationToken? cancellationToken}) → Future<OmnixModelInstallation>
override
isInstalled(String artifactName) → Future<bool>
override
listInstalled() → Future<List<String>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
uninstall(String artifactName) → Future<void>
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited