UserCountriesTargeting.fromJson constructor

UserCountriesTargeting.fromJson(
  1. Map json_
)

Implementation

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