HealthCertificate.fromMap constructor
Implementation
factory HealthCertificate.fromMap(Map<String, dynamic> map) {
return HealthCertificate(
name: map['name'].toString(),
subjectSN: map['subjectSN'].toString(),
issuerOrganisation: map['issuerOrganisation'].toString(),
validFrom: map['validFrom'].toString(),
validTo: map['validTo'].toString(),
signatureTypeSN: map['signatureTypeSN'].toString(),
);
}