DeviceTierConfig.fromJson constructor
DeviceTierConfig.fromJson(
- Map json_
Implementation
DeviceTierConfig.fromJson(core.Map json_)
: this(
deviceGroups: (json_['deviceGroups'] as core.List?)
?.map(
(value) => DeviceGroup.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
deviceTierConfigId: json_['deviceTierConfigId'] as core.String?,
deviceTierSet: json_.containsKey('deviceTierSet')
? DeviceTierSet.fromJson(
json_['deviceTierSet'] as core.Map<core.String, core.dynamic>,
)
: null,
userCountrySets: (json_['userCountrySets'] as core.List?)
?.map(
(value) => UserCountrySet.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
);