GoogleCloudRecommendationengineV1beta1UserEventInlineSource.fromJson constructor

GoogleCloudRecommendationengineV1beta1UserEventInlineSource.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecommendationengineV1beta1UserEventInlineSource.fromJson(
    core.Map json_)
    : this(
        userEvents: json_.containsKey('userEvents')
            ? (json_['userEvents'] as core.List)
                .map((value) =>
                    GoogleCloudRecommendationengineV1beta1UserEvent.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );