SkillsConfig class final

One scope's per-skill skills: entries: skill name → on/off.

Keys are skill names (case-insensitively resolved at resolution time — the canonical entry keeps the last written casing). Values must be booleans; access, disableShellExecution and liveRediscovery (gh-1440) are the section's reserved keys and are NOT accepted here (the CLI config parser handles them alongside this).

Constructors

SkillsConfig({Map<String, bool> skills = const {}})
SkillsConfig.empty()
An empty config (no wishes).
const
SkillsConfig.fromYaml(Object? node)
Parses a skills: yaml node's per-skill entries. node must be a YamlMap (the caller's type gate); every key except the section's reserved keys is a skill name with a mandatory boolean value.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skills → Map<String, bool>
Per-skill on/off wishes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
toYaml() → String
The skills: yaml fragment for these entries (one indented line per name), for surgical merges into a config file.

Operators

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

Constants

reservedKeys → const Set<String>
The section's reserved keys — never skill names.