CompactMessage constructor
const
CompactMessage({
- required String uuid,
- required MessageRole type,
- String? messageId,
- List<
ContentBlock> contentBlocks = const [], - required DateTime timestamp,
- bool isMeta = false,
- bool isCompactSummary = false,
- bool isCompactBoundary = false,
- Map<
String, dynamic> ? compactMetadata, - bool isVisibleInTranscriptOnly = false,
- String? toolUseResult,
- String? sourceToolAssistantUUID,
- Map<
String, dynamic> ? summarizeMetadata,
Implementation
const CompactMessage({
required this.uuid,
required this.type,
this.messageId,
this.contentBlocks = const [],
required this.timestamp,
this.isMeta = false,
this.isCompactSummary = false,
this.isCompactBoundary = false,
this.compactMetadata,
this.isVisibleInTranscriptOnly = false,
this.toolUseResult,
this.sourceToolAssistantUUID,
this.summarizeMetadata,
});