toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (fileDownloadsEnabled != null)
        'fileDownloadsEnabled': fileDownloadsEnabled!,
      if (name != null) 'name': name!,
      if (outboundClicksEnabled != null)
        'outboundClicksEnabled': outboundClicksEnabled!,
      if (pageChangesEnabled != null)
        'pageChangesEnabled': pageChangesEnabled!,
      if (pageLoadsEnabled != null) 'pageLoadsEnabled': pageLoadsEnabled!,
      if (pageViewsEnabled != null) 'pageViewsEnabled': pageViewsEnabled!,
      if (scrollsEnabled != null) 'scrollsEnabled': scrollsEnabled!,
      if (searchQueryParameter != null)
        'searchQueryParameter': searchQueryParameter!,
      if (siteSearchEnabled != null) 'siteSearchEnabled': siteSearchEnabled!,
      if (streamEnabled != null) 'streamEnabled': streamEnabled!,
      if (uriQueryParameter != null) 'uriQueryParameter': uriQueryParameter!,
      if (videoEngagementEnabled != null)
        'videoEngagementEnabled': videoEngagementEnabled!,
    };