loadYoutubeIframeApi function Null safety

Future<void> loadYoutubeIframeApi()

Implementation

Future<void> loadYoutubeIframeApi() {
  return loadScript(
    'https://www.youtube.com/iframe_api',
    id: 'youtube_iframe_api',
  );
}