SiteSettings.fromJson constructor
SiteSettings.fromJson(
- Map json_
Implementation
SiteSettings.fromJson(core.Map json_)
: this(
activeViewOptOut: json_.containsKey('activeViewOptOut')
? json_['activeViewOptOut'] as core.bool
: null,
adBlockingOptOut: json_.containsKey('adBlockingOptOut')
? json_['adBlockingOptOut'] as core.bool
: null,
disableNewCookie: json_.containsKey('disableNewCookie')
? json_['disableNewCookie'] as core.bool
: null,
tagSetting: json_.containsKey('tagSetting')
? TagSetting.fromJson(
json_['tagSetting'] as core.Map<core.String, core.dynamic>)
: null,
videoActiveViewOptOutTemplate:
json_.containsKey('videoActiveViewOptOutTemplate')
? json_['videoActiveViewOptOutTemplate'] as core.bool
: null,
vpaidAdapterChoiceTemplate:
json_.containsKey('vpaidAdapterChoiceTemplate')
? json_['vpaidAdapterChoiceTemplate'] as core.String
: null,
);