CertificateInfo.fromJson constructor
Implementation
factory CertificateInfo.fromJson(Map<String, dynamic> json) {
return CertificateInfo(
certificateId: json['CertificateId'] as String?,
commonName: json['CommonName'] as String?,
expiryDateTime: timeStampFromJson(json['ExpiryDateTime']),
state: (json['State'] as String?)?.toCertificateState(),
type: (json['Type'] as String?)?.toCertificateType(),
);
}