code: function getAppLinkIntentFilterDictionary(linkDomain, androidPrefix) {
      const scheme = "https";
      const output = {
        $: {
          "android:host": linkDomain,
          "android:scheme": scheme
        }
      };
  
      if (androidPrefix) {
        output.$["android:pathPrefix"] = androidPrefix;
      }
  
      return output;
    }
docs: generate the array dictionary for <data> component for the App Link intent filter