toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activityTime != null) 'activityTime': activityTime!,
      if (activityType != null) 'activityType': activityType!,
      if (appview != null) 'appview': appview!,
      if (campaign != null) 'campaign': campaign!,
      if (channelGrouping != null) 'channelGrouping': channelGrouping!,
      if (customDimension != null) 'customDimension': customDimension!,
      if (ecommerce != null) 'ecommerce': ecommerce!,
      if (event != null) 'event': event!,
      if (goals != null) 'goals': goals!,
      if (hostname != null) 'hostname': hostname!,
      if (keyword != null) 'keyword': keyword!,
      if (landingPagePath != null) 'landingPagePath': landingPagePath!,
      if (medium != null) 'medium': medium!,
      if (pageview != null) 'pageview': pageview!,
      if (source != null) 'source': source!,
    };