ListSecurityPoliciesResponse.fromJson constructor

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

Implementation

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