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