SessionUpdateAgentThoughtChunk.fromMap constructor
Implementation
factory SessionUpdateAgentThoughtChunk.fromMap(Map<Object?, Object?> value) {
final decoded = SessionUpdate.fromMap(value);
if (decoded is! SessionUpdateAgentThoughtChunk) {
throw const AcpWireDecodeException(
'Expected SessionUpdateAgentThoughtChunk.',
);
}
return decoded;
}