LoraState class

Constructors

LoraState({required ModelStatus modelStatus, bool isInitialized = false, bool isWarmedUp = false, bool isModelDownloaded = false, double? downloadProgress, double? warmupProgress, String? errorMessage})

Properties

downloadProgress double?
final
errorMessage String?
final
hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
final
isModelDownloaded bool
final
isWarmedUp bool
final
modelStatus ModelStatus
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
warmupProgress double?
final

Methods

copyWith({ModelStatus? modelStatus, bool? isInitialized, bool? isWarmedUp, bool? isModelDownloaded, double? downloadProgress, double? warmupProgress, String? errorMessage}) LoraState
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