UrlTargeting.fromJson constructor

UrlTargeting.fromJson(
  1. Map json_
)

Implementation

UrlTargeting.fromJson(core.Map json_)
    : this(
        excludedUrls: json_.containsKey('excludedUrls')
            ? (json_['excludedUrls'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        targetedUrls: json_.containsKey('targetedUrls')
            ? (json_['targetedUrls'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );