SkillSource enum
Source of a skill in the Anthropic API.
Indicates whether a skill was created by a user or provided by Anthropic.
Values
- custom → const SkillSource
-
The skill was created by a user.
const SkillSource('custom') - anthropic → const SkillSource
-
The skill was created by Anthropic.
const SkillSource('anthropic')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
JSON value for the skill source.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Converts to JSON string.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
String value) → SkillSource - Converts a string to SkillSource.
Constants
-
values
→ const List<
SkillSource> - A constant List of the values in this enum, in order of their declaration.