ModuleTargeting.fromJson constructor
ModuleTargeting.fromJson(
- Map json_
Implementation
ModuleTargeting.fromJson(core.Map json_)
: this(
deviceFeatureTargeting: json_.containsKey('deviceFeatureTargeting')
? (json_['deviceFeatureTargeting'] as core.List)
.map((value) => DeviceFeatureTargeting.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
sdkVersionTargeting: json_.containsKey('sdkVersionTargeting')
? SdkVersionTargeting.fromJson(json_['sdkVersionTargeting']
as core.Map<core.String, core.dynamic>)
: null,
userCountriesTargeting: json_.containsKey('userCountriesTargeting')
? UserCountriesTargeting.fromJson(json_['userCountriesTargeting']
as core.Map<core.String, core.dynamic>)
: null,
);