# MedicalCertificatePatientInfoBox.fromJson constructor

MedicalCertificatePatientInfoBox.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory MedicalCertificatePatientInfoBox.fromJson(
            Map<String, dynamic> json) =>
        MedicalCertificatePatientInfoBox(
          quad: (json["quad"] as List<dynamic>)
              .map((it) => Point<double>(
                  ((it as Map<String, dynamic>)["x"] as num).toDouble(),
                  ((it)["y"] as num).toDouble()))
              .toList(),
          fields: (json["fields"] as List<dynamic>)
              .map((it) => MedicalCertificatePatientInfoField.fromJson(
                  it as Map<String, dynamic>))
              .toList(),
          hasContents: json.containsKey("hasContents")
              ? (json["hasContents"] as bool)
              : false,
        );