ListSecretsResponse.fromJson constructor

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

Implementation

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