ListCertificatesResponse.fromJson constructor

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

Implementation

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