VideoDiscoveryAd.fromJson constructor
VideoDiscoveryAd.fromJson(
- Map json_
Implementation
VideoDiscoveryAd.fromJson(core.Map json_)
: this(
description1: json_.containsKey('description1')
? json_['description1'] as core.String
: null,
description2: json_.containsKey('description2')
? json_['description2'] as core.String
: null,
headline: json_.containsKey('headline')
? json_['headline'] as core.String
: null,
thumbnail: json_.containsKey('thumbnail')
? json_['thumbnail'] as core.String
: null,
video: json_.containsKey('video')
? YoutubeVideoDetails.fromJson(
json_['video'] as core.Map<core.String, core.dynamic>)
: null,
);