Fixed issues with doctor.dart
This commit is contained in:
parent
0f72ecf6ad
commit
ab09f01e82
@ -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<String, dynamic> json) => Doctor(
|
||||
profileImageUrl: json['profileImageUrl'],
|
||||
achievements: List<String>.from(json['achievements'] ?? []),
|
||||
profileImageUrl: json['profileImageUrl'],
|
||||
profileImage: json['profileImage'],
|
||||
speciality: json['speciality'],
|
||||
yearsOfExperience: json['yearsOfExperience'],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user