fromJson static method
Converts a string to SkillSource.
Implementation
static SkillSource fromJson(String value) => switch (value) {
'custom' => SkillSource.custom,
'anthropic' => SkillSource.anthropic,
_ => throw FormatException('Unknown SkillSource: $value'),
};