Skip to content

ShareModels

Category: Share

Source: share_models.dart

Enums

ShareEntryKind

ValueDescription
user
assistant
toolCall
toolResult
subagentGroup
subagentMessage

Classes

ShareEntry

Constructor

dart
const ShareEntry({
    required this.index,
    required this.kind,
    required this.text,
    this.toolName,
    this.toolArguments,
    this.subagentId,
    this.nestingLevel = 0,
    this.children = const [],
  })

Properties

PropertyTypeDescription
indexint
kindShareEntryKind
textString
toolNameString?
toolArgumentsMap<String, dynamic>?
subagentIdString?
nestingLevelint
childrenList<ShareEntry>

ShareTranscript

Constructor

dart
const ShareTranscript({required this.entries})

Properties

PropertyTypeDescription
entriesList<ShareEntry>

Released under the MIT License.