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