GetSecurityConfigurationsResponse.fromJson constructor

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

Implementation

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