UriTargeting.fromJson constructor

UriTargeting.fromJson(
  1. Map json_
)

Implementation

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