TargetingGroup.fromJson(Map<String, dynamic> json) { var list = (json['targetings'] ?? []) as List<dynamic>; targetings = list.map((e) { return ItemTarget.fromJson(e); }).toList(); }