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?,
    securityProfileIdentifiers: (json['securityProfileIdentifiers'] as List?)
        ?.whereNotNull()
        .map((e) =>
            SecurityProfileIdentifier.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}