RenderableMessage constructor
RenderableMessage({
- required String type,
- required String uuid,
- DateTime? timestamp,
- MessageData? message,
- String? subtype,
- String? hookLabel,
- int hookCount = 0,
- List<
StopHookInfo> hookInfos = const [], - List<
String> hookErrors = const [], - bool preventedContinuation = false,
- bool hasOutput = false,
- int? totalDurationMs,
- String? toolName,
- List<
RenderableMessage> ? messages, - dynamic toolUseResult,
- AttachmentData? attachment,
- RenderableMessage? displayMessage,
Implementation
RenderableMessage({
required this.type,
required this.uuid,
this.timestamp,
this.message,
this.subtype,
this.hookLabel,
this.hookCount = 0,
this.hookInfos = const [],
this.hookErrors = const [],
this.preventedContinuation = false,
this.hasOutput = false,
this.totalDurationMs,
this.toolName,
this.messages,
this.toolUseResult,
this.attachment,
this.displayMessage,
});