ListSecurityKeysResponse.fromJson constructor

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

Implementation

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