ListCertificateAuthoritiesResponse.fromJson constructor

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

Implementation

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