HealthCertificate.fromMap constructor

HealthCertificate.fromMap(
  1. Map<String, dynamic> map
)

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(),
  );
}