class DoctorListByTimeModel {
  dynamic clinicID;
  String? clinicName;
  String? doctorTitle;
  dynamic iD;
  String? name;
  dynamic projectID;
  String? projectName;
  dynamic actualDoctorRate;
  dynamic clinicRoomNo;
  dynamic date;
  dynamic dayName;
  double? decimalDoctorRate;
  dynamic doctorAvailability;
  dynamic doctorID;
  String? doctorImageURL;
  dynamic doctorProfile;
  dynamic doctorProfileInfo;
  dynamic doctorRate;
  dynamic doctorStarsRate;
  dynamic gender;
  String? genderDescription;
  bool? isAllowWaitList;
  bool? isAppointmentAllowed;
  bool? isDoctorAllowVedioCall;
  bool? isDoctorDummy;
  bool? isDoctorHasPrePostImages;
  bool? isLiveCare;
  String? latitude;
  String? longitude;
  String? nationalityFlagURL;
  String? nationalityID;
  String? nationalityName;
  dynamic nearestFreeSlot;
  dynamic noOfPatientsRate;
  dynamic originalClinicID;
  dynamic personRate;
  dynamic projectDistanceInKiloMeters;
  String? qR;
  dynamic qRString;
  dynamic rateNumber;
  dynamic serviceID;
  String? setupID;
  List<String>? speciality;
  dynamic workingHours;

  DoctorListByTimeModel(
      {this.clinicID,
      this.clinicName,
      this.doctorTitle,
      this.iD,
      this.name,
      this.projectID,
      this.projectName,
      this.actualDoctorRate,
      this.clinicRoomNo,
      this.date,
      this.dayName,
      this.decimalDoctorRate,
      this.doctorAvailability,
      this.doctorID,
      this.doctorImageURL,
      this.doctorProfile,
      this.doctorProfileInfo,
      this.doctorRate,
      this.doctorStarsRate,
      this.gender,
      this.genderDescription,
      this.isAllowWaitList,
      this.isAppointmentAllowed,
      this.isDoctorAllowVedioCall,
      this.isDoctorDummy,
      this.isDoctorHasPrePostImages,
      this.isLiveCare,
      this.latitude,
      this.longitude,
      this.nationalityFlagURL,
      this.nationalityID,
      this.nationalityName,
      this.nearestFreeSlot,
      this.noOfPatientsRate,
      this.originalClinicID,
      this.personRate,
      this.projectDistanceInKiloMeters,
      this.qR,
      this.qRString,
      this.rateNumber,
      this.serviceID,
      this.setupID,
      this.speciality,
      this.workingHours});

  DoctorListByTimeModel.fromJson(Map<String, dynamic> json) {
    clinicID = json['ClinicID'];
    clinicName = json['ClinicName'];
    doctorTitle = json['DoctorTitle'];
    iD = json['ID'];
    name = json['Name'];
    projectID = json['ProjectID'];
    projectName = json['ProjectName'];
    actualDoctorRate = json['ActualDoctorRate'];
    clinicRoomNo = json['ClinicRoomNo'];
    date = json['Date'];
    dayName = json['DayName'];
    decimalDoctorRate = json['DecimalDoctorRate'];
    doctorAvailability = json['DoctorAvailability'];
    doctorID = json['DoctorID'];
    doctorImageURL = json['DoctorImageURL'];
    doctorProfile = json['DoctorProfile'];
    doctorProfileInfo = json['DoctorProfileInfo'];
    doctorRate = json['DoctorRate'];
    doctorStarsRate = json['DoctorStarsRate'];
    gender = json['Gender'];
    genderDescription = json['GenderDescription'];
    isAllowWaitList = json['IsAllowWaitList'];
    isAppointmentAllowed = json['IsAppointmentAllowed'];
    isDoctorAllowVedioCall = json['IsDoctorAllowVedioCall'];
    isDoctorDummy = json['IsDoctorDummy'];
    isDoctorHasPrePostImages = json['IsDoctorHasPrePostImages'];
    isLiveCare = json['IsLiveCare'];
    latitude = json['Latitude'];
    longitude = json['Longitude'];
    nationalityFlagURL = json['NationalityFlagURL'];
    nationalityID = json['NationalityID'];
    nationalityName = json['NationalityName'];
    nearestFreeSlot = json['NearestFreeSlot'];
    noOfPatientsRate = json['NoOfPatientsRate'];
    originalClinicID = json['OriginalClinicID'];
    personRate = json['PersonRate'];
    projectDistanceInKiloMeters = json['ProjectDistanceInKiloMeters'];
    qR = json['QR'];
    qRString = json['QRString'];
    rateNumber = json['RateNumber'];
    serviceID = json['ServiceID'];
    setupID = json['SetupID'];
    speciality = json['Speciality'].cast<String>();
    workingHours = json['WorkingHours'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ClinicID'] = this.clinicID;
    data['ClinicName'] = this.clinicName;
    data['DoctorTitle'] = this.doctorTitle;
    data['ID'] = this.iD;
    data['Name'] = this.name;
    data['ProjectID'] = this.projectID;
    data['ProjectName'] = this.projectName;
    data['ActualDoctorRate'] = this.actualDoctorRate;
    data['ClinicRoomNo'] = this.clinicRoomNo;
    data['Date'] = this.date;
    data['DayName'] = this.dayName;
    data['DecimalDoctorRate'] = this.decimalDoctorRate;
    data['DoctorAvailability'] = this.doctorAvailability;
    data['DoctorID'] = this.doctorID;
    data['DoctorImageURL'] = this.doctorImageURL;
    data['DoctorProfile'] = this.doctorProfile;
    data['DoctorProfileInfo'] = this.doctorProfileInfo;
    data['DoctorRate'] = this.doctorRate;
    data['DoctorStarsRate'] = this.doctorStarsRate;
    data['Gender'] = this.gender;
    data['GenderDescription'] = this.genderDescription;
    data['IsAllowWaitList'] = this.isAllowWaitList;
    data['IsAppointmentAllowed'] = this.isAppointmentAllowed;
    data['IsDoctorAllowVedioCall'] = this.isDoctorAllowVedioCall;
    data['IsDoctorDummy'] = this.isDoctorDummy;
    data['IsDoctorHasPrePostImages'] = this.isDoctorHasPrePostImages;
    data['IsLiveCare'] = this.isLiveCare;
    data['Latitude'] = this.latitude;
    data['Longitude'] = this.longitude;
    data['NationalityFlagURL'] = this.nationalityFlagURL;
    data['NationalityID'] = this.nationalityID;
    data['NationalityName'] = this.nationalityName;
    data['NearestFreeSlot'] = this.nearestFreeSlot;
    data['NoOfPatientsRate'] = this.noOfPatientsRate;
    data['OriginalClinicID'] = this.originalClinicID;
    data['PersonRate'] = this.personRate;
    data['ProjectDistanceInKiloMeters'] = this.projectDistanceInKiloMeters;
    data['QR'] = this.qR;
    data['QRString'] = this.qRString;
    data['RateNumber'] = this.rateNumber;
    data['ServiceID'] = this.serviceID;
    data['SetupID'] = this.setupID;
    data['Speciality'] = this.speciality;
    data['WorkingHours'] = this.workingHours;
    return data;
  }
}

class DoctorsListTime {
  List<DoctorListByTimeModel> doctorsByTimeList = [];
  String filterName = "";

  DoctorsListTime({filterName, DoctorListByTimeModel? doctor}) {
    doctorsByTimeList.add(doctor!);
    this.filterName = filterName;
  }
}
