CreativeCustomEvent.fromJson constructor

CreativeCustomEvent.fromJson(
  1. Map json_
)

Implementation

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