LiteCharacteristic class
A key-value pair used to define specific behavioral traits for the AI.
These are used to "flavor" the AI's personality or constraints.
Constructors
- LiteCharacteristic({required String key, required dynamic value})
-
LiteCharacteristic.fromJson(Map<
String, dynamic> json) -
Creates a LiteCharacteristic from a JSON map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
The identifier for the characteristic (e.g., "tone", "expertise").
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → dynamic
-
The value associated with the key. Can be String, int, or bool.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the characteristic to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited