ChannelSectionTargeting.fromJson constructor

ChannelSectionTargeting.fromJson(
  1. Map json_
)

Implementation

ChannelSectionTargeting.fromJson(core.Map json_)
    : this(
        countries: json_.containsKey('countries')
            ? (json_['countries'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        languages: json_.containsKey('languages')
            ? (json_['languages'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        regions: json_.containsKey('regions')
            ? (json_['regions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );