GoogleCloudRecommendationengineV1beta1EventDetail.fromJson constructor

GoogleCloudRecommendationengineV1beta1EventDetail.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecommendationengineV1beta1EventDetail.fromJson(core.Map json_)
    : this(
        eventAttributes: json_.containsKey('eventAttributes')
            ? GoogleCloudRecommendationengineV1beta1FeatureMap.fromJson(
                json_['eventAttributes']
                    as core.Map<core.String, core.dynamic>)
            : null,
        experimentIds: json_.containsKey('experimentIds')
            ? (json_['experimentIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        pageViewId: json_.containsKey('pageViewId')
            ? json_['pageViewId'] as core.String
            : null,
        recommendationToken: json_.containsKey('recommendationToken')
            ? json_['recommendationToken'] as core.String
            : null,
        referrerUri: json_.containsKey('referrerUri')
            ? json_['referrerUri'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );