CertificateValidity.fromJson constructor

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

Implementation

factory CertificateValidity.fromJson(Map<String, dynamic> json) {
  return CertificateValidity(
    notAfter: timeStampFromJson(json['notAfter']),
    notBefore: timeStampFromJson(json['notBefore']),
  );
}