CountryTargeting.fromJson constructor

CountryTargeting.fromJson(
  1. Map json_
)

Implementation

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