DirectorySiteSettings.fromJson constructor

DirectorySiteSettings.fromJson(
  1. Map json_
)

Implementation

DirectorySiteSettings.fromJson(core.Map json_)
    : this(
        activeViewOptOut: json_.containsKey('activeViewOptOut')
            ? json_['activeViewOptOut'] as core.bool
            : null,
        dfpSettings: json_.containsKey('dfpSettings')
            ? DfpSettings.fromJson(
                json_['dfpSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        instreamVideoPlacementAccepted:
            json_.containsKey('instreamVideoPlacementAccepted')
                ? json_['instreamVideoPlacementAccepted'] as core.bool
                : null,
        interstitialPlacementAccepted:
            json_.containsKey('interstitialPlacementAccepted')
                ? json_['interstitialPlacementAccepted'] as core.bool
                : null,
      );