FileSystemSkillStorageAdapter class
Stub SkillStorageAdapter for platforms where dart:io is unavailable (web/wasm).
- Implemented types
Constructors
- FileSystemSkillStorageAdapter({required String rootPath})
-
const
Properties
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, ornullif 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, optionaldescription, andzipBytes.override -
skillExists(
String name) → Future< bool> -
Checks if a skill with the given
nameexists.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited