ListSecurityProfilesResponse.fromJson constructor

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

Implementation

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