What is the use of Magento\Framework\View\Element\Text\ListText class in Magento 2?

Magento 2 You can see ListText class at Magento\Framework\View\Element\Text\ListText location.

ListText class file used to Render the HTML output.
When you go to ListText file, You can see the syntax under the toHtml() function,

$layout = $this->getLayout();
foreach ($this->getChildNames() as $child) {
    $this->addText($layout->renderElement($child, false));

ListText will return all of its child by an iterating loop.
Find an element in layout, render it and return a string with its output to the system.

Real Example:

You can check the sales_order_view.xml for an admin Sales order.

<block class=”Magento\Framework\View\Element\Text\ListText” name=”order_item_extra_info”/>

When you log the child layout for Order View Page, You can see child layout used for Order View page,