YoutubeAndPartnersInventorySourceConfig.fromJson constructor

YoutubeAndPartnersInventorySourceConfig.fromJson(
  1. Map json_
)

Implementation

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