AssetSource class final
Asset source - copies from Flutter assets
- Inheritance
-
- Object
- ModelSource
- AssetSource
Constructors
- AssetSource.new(String path)
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- normalizedPath → String
-
Normalized path with 'assets/' prefix (for Flutter asset system)
no setter
- path → String
-
final
- pathForLookupKey → String
-
Path WITHOUT 'assets/' prefix (for native platform lookupKey)
Example: 'assets/models/file.task' → 'models/file.task'
no setter
- requiresDownload → bool
-
Whether this source requires downloading
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportsProgress → bool
-
Whether this source supports progress tracking
no setteroverride
- supportsResume → bool
-
Whether this source supports resume after interruption
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
validateLoraSource(
ModelSource loraSource) → bool -
Validates if LoRA source is compatible with this model source
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override