class ProjectAvgERWaitingTime {
  int iD;
  int projectID;
  int avgTimeInMinutes;
  String avgTimeInHHMM;
  dynamic distanceInKilometers;
  String latitude;
  String longitude;
  String phoneNumber;
  String projectImageURL;
  String projectName;

  ProjectAvgERWaitingTime(
      {this.iD,
        this.projectID,
        this.avgTimeInMinutes,
        this.avgTimeInHHMM,
        this.distanceInKilometers,
        this.latitude,
        this.longitude,
        this.phoneNumber,
        this.projectImageURL,
        this.projectName});

  ProjectAvgERWaitingTime.fromJson(Map<String, dynamic> json) {
    iD = json['ID'];
    projectID = json['ProjectID'];
    avgTimeInMinutes = json['AvgTimeInMinutes'];
    avgTimeInHHMM = json['AvgTimeInHHMM'];
    distanceInKilometers = json['DistanceInKilometers'];
    latitude = json['Latitude'];
    longitude = json['Longitude'];
    phoneNumber = json['PhoneNumber'];
    projectImageURL = json['ProjectImageURL'];
    projectName = json['ProjectName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ID'] = this.iD;
    data['ProjectID'] = this.projectID;
    data['AvgTimeInMinutes'] = this.avgTimeInMinutes;
    data['AvgTimeInHHMM'] = this.avgTimeInHHMM;
    data['DistanceInKilometers'] = this.distanceInKilometers;
    data['Latitude'] = this.latitude;
    data['Longitude'] = this.longitude;
    data['PhoneNumber'] = this.phoneNumber;
    data['ProjectImageURL'] = this.projectImageURL;
    data['ProjectName'] = this.projectName;
    return data;
  }
}
//class ProjectAvgERWaitingTime {
//  int iD;
//  int projectID;
//  int avgTimeInMinutes;
//  String avgTimeInHHMM;
//  String distanceInKilometers;
//  String latitude;
//  String longitude;
//  String phoneNumber;
//  String projectImageURL;
//  String projectName;
//
//  ProjectAvgERWaitingTime(
//      {this.iD,
//        this.projectID,
//        this.avgTimeInMinutes,
//        this.avgTimeInHHMM,
//        this.distanceInKilometers,
//        this.latitude,
//        this.longitude,
//        this.phoneNumber,
//        this.projectImageURL,
//        this.projectName});
//
//  ProjectAvgERWaitingTime.fromJson(Map<String, dynamic> json) {
//    iD = json['ID'];
//    projectID = json['ProjectID'];
//    avgTimeInMinutes = json['AvgTimeInMinutes'];
//    avgTimeInHHMM = json['AvgTimeInHHMM'];
//    distanceInKilometers = json['DistanceInKilometers'];
//    latitude = json['Latitude'];
//    longitude = json['Longitude'];
//    phoneNumber = json['PhoneNumber'];
//    projectImageURL = json['ProjectImageURL'];
//    projectName = json['ProjectName'];
//  }
//
//  Map<String, dynamic> toJson() {
//    final Map<String, dynamic> data = new Map<String, dynamic>();
//    data['ID'] = this.iD;
//    data['ProjectID'] = this.projectID;
//    data['AvgTimeInMinutes'] = this.avgTimeInMinutes;
//    data['AvgTimeInHHMM'] = this.avgTimeInHHMM;
//    data['DistanceInKilometers'] = this.distanceInKilometers;
//    data['Latitude'] = this.latitude;
//    data['Longitude'] = this.longitude;
//    data['PhoneNumber'] = this.phoneNumber;
//    data['ProjectImageURL'] = this.projectImageURL;
//    data['ProjectName'] = this.projectName;
//    return data;
//  }
//}