CertificateSummary.fromJson constructor
CertificateSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CertificateSummary.fromJson(Map<String, dynamic> json) {
return CertificateSummary(
certificateArn: json['certificateArn'] as String?,
certificateDetail: json['certificateDetail'] != null
? Certificate.fromJson(
json['certificateDetail'] as Map<String, dynamic>)
: null,
certificateName: json['certificateName'] as String?,
domainName: json['domainName'] as String?,
tags: (json['tags'] as List?)
?.whereNotNull()
.map((e) => Tag.fromJson(e as Map<String, dynamic>))
.toList(),
);
}