GoogleCloudRetailV2UserInfo.fromJson constructor

GoogleCloudRetailV2UserInfo.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2UserInfo.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,
      );