The argument type 'Null' can't be assigned to the parameter type 'PatientPrescription'
Issue How to fix this error. My code _patientDocument, patientDocument: [], patientPrescription: null,); //NULL ERROR Solution Make patientPrescription a nullable…