ThreatIntelligenceDetail.fromJson constructor
Implementation
factory ThreatIntelligenceDetail.fromJson(Map<String, dynamic> json) {
return ThreatIntelligenceDetail(
threatListName: json['threatListName'] as String?,
threatNames: (json['threatNames'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}