ListThreatIntelSetsResponse.fromJson constructor

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

Implementation

factory ListThreatIntelSetsResponse.fromJson(Map<String, dynamic> json) {
  return ListThreatIntelSetsResponse(
    threatIntelSetIds: (json['threatIntelSetIds'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}