type property
String
get
type
The type of content.
Switch on this to handle each case (see the static expectedType
getters). isToolUse and isToolResult cover the two arms a
tools/call result cannot carry.
Implementation
String get type => _value[Keys.type] as String;