ChannelSectionTargeting.fromJson constructor

ChannelSectionTargeting.fromJson(
  1. Map json_
)

Implementation

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