toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (eventAttributes != null)
        'eventAttributes': eventAttributes!.toJson(),
      if (experimentIds != null) 'experimentIds': experimentIds!,
      if (pageViewId != null) 'pageViewId': pageViewId!,
      if (recommendationToken != null)
        'recommendationToken': recommendationToken!,
      if (referrerUri != null) 'referrerUri': referrerUri!,
      if (uri != null) 'uri': uri!,
    };