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.
27 lines
575 B
27 lines
575 B
|
|
|
|
class GetConnectedPatientsModel {
|
|
String user_name='';
|
|
String customer_id='';
|
|
String phone_number='';
|
|
String age='';
|
|
String gender='';
|
|
|
|
|
|
|
|
|
|
GetConnectedPatientsModel();
|
|
|
|
factory GetConnectedPatientsModel.fromJson(Map<String, dynamic> json){
|
|
GetConnectedPatientsModel rtvm = new GetConnectedPatientsModel();
|
|
rtvm.user_name = json['username'] ?? '';
|
|
rtvm.customer_id = json['customerId'] ?? '';
|
|
rtvm.phone_number = json['phone'] ?? '';
|
|
rtvm.age = json['age'].toString() ?? '';
|
|
rtvm.gender = json['gender'] ?? '';
|
|
|
|
|
|
return rtvm;
|
|
}
|
|
|
|
} |