GetThreatIntelSetResponse.fromJson constructor

GetThreatIntelSetResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetThreatIntelSetResponse.fromJson(Map<String, dynamic> json) {
  return GetThreatIntelSetResponse(
    format: (json['format'] as String).toThreatIntelSetFormat(),
    location: json['location'] as String,
    name: json['name'] as String,
    status: (json['status'] as String).toThreatIntelSetStatus(),
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}