FileSystemSkillStorageAdapter class

Stub SkillStorageAdapter for platforms where dart:io is unavailable (web/wasm).

Implemented types

Constructors

FileSystemSkillStorageAdapter({required String rootPath})
const

Properties

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

Methods

deleteSkill(String name) → Future<void>
Deletes a stored skill by name.
override
listSkills() → Future<List<StoredSkillInfo>>
Lists all stored skills.
override
loadSkillZip(String name) → Future<Uint8List?>
Loads a skill ZIP by its name. Returns the raw ZIP bytes, or null if the skill is not found or the data is corrupt.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveSkill({required String name, String? description, required Uint8List zipBytes}) → Future<StoredSkillInfo>
Saves a skill using name, optional description, and zipBytes.
override
skillExists(String name) → Future<bool>
Checks if a skill with the given name exists.
override
toString() → String
A string representation of this object.
inherited

Operators

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