TrackCountryAvailability.fromJson constructor
TrackCountryAvailability.fromJson(
- Map json_
Implementation
TrackCountryAvailability.fromJson(core.Map json_)
: this(
countries: json_.containsKey('countries')
? (json_['countries'] as core.List)
.map((value) => TrackTargetedCountry.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
restOfWorld: json_.containsKey('restOfWorld')
? json_['restOfWorld'] as core.bool
: null,
syncWithProduction: json_.containsKey('syncWithProduction')
? json_['syncWithProduction'] as core.bool
: null,
);