ScriptDto<INPUT, OUTPUT> class
Represents an executable script tool.
Extends TurboPromptable with script-specific properties including input/output types and execution instructions.
- Inheritance
-
- Object
- TWriteable
- TSerializable
- TurboPromptable
- ScriptDto
- Annotations
-
- @JsonSerializable.new(includeIfNull: true, explicitToJson: true, genericArgumentFactories: true)
Constructors
Properties
-
children
→ List<
TurboPromptable> ? -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- input → INPUT?
-
final
- instructions → String?
-
final
-
mdFactory
↔ TMdFactory<
TWriteable> ? -
Returns a function that builds a Markdown string from a JSON map.
getter/setter pairinherited
- output → OUTPUT?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
xmlBuilder
↔ String Function(Map<
String, dynamic> json)? -
Returns a function that builds an XML string from a JSON map.
getter/setter pairinherited
- yamlBuilder ↔ String Function(TWriteable writeable)?
-
Returns a function that builds a YAML string from a JSON map.
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the object to a Firestore-compatible map.
override
-
toJsonWithConverters(
Object? toJsonINPUT(INPUT value), Object? toJsonOUTPUT(OUTPUT value)) → Map< String, dynamic> - JSON serialization method for generic types. Requires converters for INPUT and OUTPUT types.
-
toMarkdown(
{TMdFactory< TWriteable> ? mdFactory}) → String -
Converts this object to a Markdown string.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
toXml(
) → String -
Converts this object to an XML string.
inherited
-
toYaml(
) → String -
Converts this object to a YAML string.
inherited
-
validate<
T> () → TurboResponse< T> ? -
Validates the object's data before writing to Firestore.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited