How to adapt `Magento\Catalog\Model\View\Asset\Image::getUrl()` to Windows in 2.3 ≤ Magento ≤ 2.4.1?

Replace

with

return $this->context->getBaseUrl() . / . $this->getImageInfo();