GoogleCloudRecommendationengineV1beta1UserInfo.fromJson constructor

GoogleCloudRecommendationengineV1beta1UserInfo.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecommendationengineV1beta1UserInfo.fromJson(core.Map json_)
    : this(
        directUserRequest: json_.containsKey('directUserRequest')
            ? json_['directUserRequest'] as core.bool
            : null,
        ipAddress: json_.containsKey('ipAddress')
            ? json_['ipAddress'] as core.String
            : null,
        userAgent: json_.containsKey('userAgent')
            ? json_['userAgent'] as core.String
            : null,
        userId: json_.containsKey('userId')
            ? json_['userId'] as core.String
            : null,
        visitorId: json_.containsKey('visitorId')
            ? json_['visitorId'] as core.String
            : null,
      );