PlaygroundWorkflow class
Represents a saved Playground Workflow preset containing multi-prompts, system prompt, LLM overrides, selected tools, and active skill reference.
Constructors
-
PlaygroundWorkflow({required String id, required String name, String description = '', List<
SubPromptStep> steps = const [], String systemPrompt = '', String initialPrompt = '', bool useCustomLlm = false, LlmConfig? customLlmConfig, List<String> enabledToolNames = const [], String? activeSkillId, String? activeSkillName, bool chatMode = false, required DateTime createdAt, required DateTime updatedAt}) -
const
-
PlaygroundWorkflow.fromJson(Map<
String, dynamic> json) -
factory
Properties
- activeSkillId → String?
-
final
- activeSkillName → String?
-
final
- chatMode → bool
-
final
- createdAt → DateTime
-
final
- customLlmConfig → LlmConfig?
-
final
- description → String
-
final
-
enabledToolNames
→ List<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- initialPrompt → String
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
steps
→ List<
SubPromptStep> -
final
- systemPrompt → String
-
final
- updatedAt → DateTime
-
final
- useCustomLlm → bool
-
final
Methods
-
copyWith(
{String? name, String? description, List< SubPromptStep> ? steps, String? systemPrompt, String? initialPrompt, bool? useCustomLlm, LlmConfig? customLlmConfig, List<String> ? enabledToolNames, String? activeSkillId, String? activeSkillName, bool? chatMode}) → PlaygroundWorkflow -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited