Targeting.fromJson constructor
Targeting.fromJson(
- Map json_
Implementation
Targeting.fromJson(core.Map json_)
: this(
ageRange: json_['ageRange'] as core.String?,
devices: (json_['devices'] as core.List?)
?.map((value) => value as core.String)
.toList(),
genders: (json_['genders'] as core.List?)
?.map((value) => value as core.String)
.toList(),
plannableLocationIds: (json_['plannableLocationIds'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);