FlutterGemmaPlugin class abstract
Interface for the FlutterGemma plugin.
- Inheritance
-
- Object
- PlatformInterface
- FlutterGemmaPlugin
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initializedModel → InferenceModel?
-
no setter
- modelManager → ModelFileManager
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createModel(
{required ModelType modelType, int maxTokens, PreferredBackend? preferredBackend, List< int> ? loraRanks}) → Future<InferenceModel> - Creates and returns a new InferenceModel instance.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ FlutterGemmaPlugin
-
getter/setter pair