YoutubeAndPartnersInventorySourceConfig.fromJson constructor

YoutubeAndPartnersInventorySourceConfig.fromJson(
  1. Map json_
)

Implementation

YoutubeAndPartnersInventorySourceConfig.fromJson(core.Map json_)
    : this(
        includeGoogleTv: json_.containsKey('includeGoogleTv')
            ? json_['includeGoogleTv'] as core.bool
            : null,
        includeYoutube: json_.containsKey('includeYoutube')
            ? json_['includeYoutube'] as core.bool
            : null,
        includeYoutubeVideoPartners:
            json_.containsKey('includeYoutubeVideoPartners')
                ? json_['includeYoutubeVideoPartners'] as core.bool
                : null,
      );