You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
728 B
30 lines
728 B
|
|
|
|
class GetConnectedDoctorsModel {
|
|
String doctor_name='';
|
|
String doctor_id='';
|
|
String specialization='';
|
|
String qualification='';
|
|
String practiceplace1='';
|
|
String practiceplace2='';
|
|
String practiceplace3='';
|
|
String hospital_name='';
|
|
|
|
|
|
|
|
|
|
|
|
GetConnectedDoctorsModel();
|
|
|
|
factory GetConnectedDoctorsModel.fromJson(Map<String, dynamic> json){
|
|
GetConnectedDoctorsModel rtvm = new GetConnectedDoctorsModel();
|
|
rtvm.doctor_name = json['doctorName'] ?? '';
|
|
rtvm.specialization = json['specialization'] ?? '';
|
|
rtvm.qualification = json['qualification'] ?? '';
|
|
rtvm.doctor_id = json['doctorId'] ?? '';
|
|
rtvm.hospital_name = json['placeOfPractice'][0]['hospitalName'] ?? '';
|
|
|
|
return rtvm;
|
|
}
|
|
|
|
} |