ChatkitWorkflow class

Workflow metadata for a ChatKit session.

Annotations
  • @immutable

Constructors

ChatkitWorkflow({required String id, String? version, Map<String, dynamic>? stateVariables, ChatkitWorkflowTracing? tracing})
Creates a ChatkitWorkflow.
const
ChatkitWorkflow.fromJson(Map<String, dynamic> json)
Creates a ChatkitWorkflow from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Identifier of the workflow backing the session.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateVariables Map<String, dynamic>?
State variable key-value pairs applied when invoking the workflow.
final
tracing ChatkitWorkflowTracing?
Tracing settings applied to the workflow.
final
version String?
Specific workflow version used for the session.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited