Uncaught TypeError: Cesium.KmlDataSource.fromUrl is not a function

New to Cesium version 1.8 and trying to load a KML file using:

<script>
      var viewer = new Cesium.Viewer(‘cesiumContainer’);
      viewer.dataSources.add(Cesium.KmlDataSource.fromUrl(‘http://radar.weather.gov/ridge/warningzipmaker.php’));
      
  </script>

I'm receiving the error :Uncaught TypeError: Cesium.KmlDataSource.fromUrl is not a function. Thanks in advance.

If you use cesium 1.8, use KmlDataSource.load(url) instead