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,
        includeYoutubeSearch: json_.containsKey('includeYoutubeSearch')
            ? json_['includeYoutubeSearch'] as core.bool
            : null,
        includeYoutubeVideoPartners:
            json_.containsKey('includeYoutubeVideoPartners')
                ? json_['includeYoutubeVideoPartners'] as core.bool
                : null,
        includeYoutubeVideos: json_.containsKey('includeYoutubeVideos')
            ? json_['includeYoutubeVideos'] as core.bool
            : null,
      );