OrchestratorResponse class

Orchestrator 统一响应

Constructors

OrchestratorResponse({required String message, required List<QuickReply> quickReplies, required String state, required String nextAction, String? sessionId, UIComponent? uiComponent, ErrorInfo? error})
OrchestratorResponse.fromJson(Map<String, dynamic> json)
factory

Properties

error ErrorInfo?
final
hashCode int
The hash code for this object.
no setterinherited
message String
final
nextAction String
final
quickReplies List<QuickReply>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String?
final
state String
final
uiComponent UIComponent?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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