GeoTargeting class Null safety

Geographical Targeting.

Constructors

GeoTargeting({List<City>? cities, List<Country>? countries, bool? excludeCountries, List<Metro>? metros, List<PostalCode>? postalCodes, List<Region>? regions})
GeoTargeting.fromJson(Map json_)

Properties

cities List<City>?
Cities to be targeted.
read / write
countries List<Country>?
Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field.
read / write
excludeCountries bool?
Whether or not to exclude the countries in the countries field from targeting.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
metros List<Metro>?
Metros to be targeted.
read / write
postalCodes List<PostalCode>?
Postal codes to be targeted.
read / write
regions List<Region>?
Regions to be targeted.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited