build method

Patient? build()

Implementation

Patient? build() {
    var patient = Patient._();
    patient._sessionId = sessionId;
    patient._age = age;
    patient._gender = gender;
    patient._insurance = insurance;
    patient._insuranceType = insuranceType;
    patient._insuranceName = insuranceName;
    patient._temperature = temperature;
    patient._bp = bp;
    patient._pulse = pulse;
    patient._respiration = respiration;
    patient._labTest = labTest;
    patient._diagnosis = diagnosis;
    patient._prescription = prescription;
    patient._pharmacy = pharmacy;
    patient._labTestHistory = labTestHistory;
    patient._diagnosisHistory = diagnosisHistory;
    patient._prescriptionHistory = prescriptionHistory;
    patient._pharmacyHistory = pharmacyHistory;

    return patient;
}