FlutterGemma class

Inheritance

Constructors

FlutterGemma.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
initializedModel InferenceModel?
no setteroverride
modelManager MobileModelManager
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createModel({required ModelType modelType, int maxTokens = 1024, PreferredBackend? preferredBackend, List<int>? loraRanks}) Future<InferenceModel>
Creates and returns a new InferenceModel instance.
override
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