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<GoogleCloudRecommendationengineV1beta1UserEvent>(
                    (value) => GoogleCloudRecommendationengineV1beta1UserEvent
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );