feat: Adds realtime data of doctors in patient screen
#42 (closed)
Closes:Changes:
- Main changes in files
lib/screens/patient_dashboard/doctor_appointment/screens/detail_screen.dart
andlib/screens/patient_dashboard/doctor_appointment/screens/home_screen.dart
. Replaced the hardcoded data with the data from the firestore. - Created a model named DoctorModel to store the doctor's info.
- Also added a type parameter in the
updateUserData()
function, to assign the role of doctor/patient when registering, so it will make it easier to distinguish the doctor and patient accounts.