CreativeCustomEvent.fromJson constructor

CreativeCustomEvent.fromJson(
  1. Map json_
)

Implementation

CreativeCustomEvent.fromJson(core.Map json_)
    : this(
        advertiserCustomEventId: json_.containsKey('advertiserCustomEventId')
            ? json_['advertiserCustomEventId'] as core.String
            : null,
        advertiserCustomEventName:
            json_.containsKey('advertiserCustomEventName')
                ? json_['advertiserCustomEventName'] as core.String
                : null,
        advertiserCustomEventType:
            json_.containsKey('advertiserCustomEventType')
                ? json_['advertiserCustomEventType'] as core.String
                : null,
        artworkLabel: json_.containsKey('artworkLabel')
            ? json_['artworkLabel'] as core.String
            : null,
        artworkType: json_.containsKey('artworkType')
            ? json_['artworkType'] as core.String
            : null,
        exitClickThroughUrl: json_.containsKey('exitClickThroughUrl')
            ? CreativeClickThroughUrl.fromJson(json_['exitClickThroughUrl']
                as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        popupWindowProperties: json_.containsKey('popupWindowProperties')
            ? PopupWindowProperties.fromJson(json_['popupWindowProperties']
                as core.Map<core.String, core.dynamic>)
            : null,
        targetType: json_.containsKey('targetType')
            ? json_['targetType'] as core.String
            : null,
        videoReportingId: json_.containsKey('videoReportingId')
            ? json_['videoReportingId'] as core.String
            : null,
      );