ThreatIntelIndicator.fromJson constructor
ThreatIntelIndicator.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ThreatIntelIndicator.fromJson(Map<String, dynamic> json) {
return ThreatIntelIndicator(
category: (json['Category'] as String?)?.toThreatIntelIndicatorCategory(),
lastObservedAt: json['LastObservedAt'] as String?,
source: json['Source'] as String?,
sourceUrl: json['SourceUrl'] as String?,
type: (json['Type'] as String?)?.toThreatIntelIndicatorType(),
value: json['Value'] as String?,
);
}