LoadBalancerTlsCertificateRenewalSummary.fromJson constructor

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

Implementation

factory LoadBalancerTlsCertificateRenewalSummary.fromJson(
    Map<String, dynamic> json) {
  return LoadBalancerTlsCertificateRenewalSummary(
    domainValidationOptions: (json['domainValidationOptions'] as List?)
        ?.whereNotNull()
        .map((e) => LoadBalancerTlsCertificateDomainValidationOption.fromJson(
            e as Map<String, dynamic>))
        .toList(),
    renewalStatus: (json['renewalStatus'] as String?)
        ?.toLoadBalancerTlsCertificateRenewalStatus(),
  );
}