diff --git a/lib/data/models/doctor.dart b/lib/data/models/doctor.dart index 2b3713f..1ec7247 100644 --- a/lib/data/models/doctor.dart +++ b/lib/data/models/doctor.dart @@ -25,7 +25,6 @@ class Doctor { this.profileImageUrl, this.addressType, this.achievements, - this.profileImageUrl, this.profileImage, // Initialize with empty list this.speciality, this.yearsOfExperience, @@ -72,7 +71,6 @@ class Doctor { static Doctor fromJson(Map json) => Doctor( profileImageUrl: json['profileImageUrl'], achievements: List.from(json['achievements'] ?? []), - profileImageUrl: json['profileImageUrl'], profileImage: json['profileImage'], speciality: json['speciality'], yearsOfExperience: json['yearsOfExperience'],