class PendingOrders {
  int driverID;
  String searchKey;
  int pageSize;
  int pageIndex;
  String tokenID;
  String userID;
  String mobileNo;
  String firstName;
  String lastName;
  String mobileNumber;
  dynamic distanceInKilometers;
  String longitude;
  String latitude;
  int driverAppPageID;

  PendingOrders(
      {this.driverID,
      this.searchKey,
      this.pageSize,
      this.pageIndex,
      this.tokenID,
      this.userID,
      this.mobileNo,
      this.firstName,
      this.lastName,
    this.mobileNumber,
    this.distanceInKilometers,
    this.longitude,
    this.latitude,
    this.driverAppPageID
  });

  PendingOrders.fromJson(Map<String, dynamic> json) {
    driverID = json['DriverID'];
    searchKey = json['SearchKey'];
    pageSize = json['PageSize'];
    pageIndex = json['PageIndex'];
    tokenID = json['TokenID'];
    userID = json['UserID'];
    mobileNo = json['MobileNo'];
    firstName = json['FirstName'];
    lastName = json['LastName'];
    mobileNumber = json['MobileNumber'];
    distanceInKilometers = json['DistanceInKilometers'];
    driverAppPageID = json['DriverAppPageID'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['DriverID'] = this.driverID;
    data['SearchKey'] = this.searchKey;
    data['PageSize'] = this.pageSize;
    data['PageIndex'] = this.pageIndex;
    data['TokenID'] = this.tokenID;
    data['UserID'] = this.userID;
    data['MobileNo'] = this.mobileNo;
    data['Longitude'] = this.longitude;
    data['Latitude'] = this.latitude;
    data['DriverAppPageID'] = this.driverAppPageID;
    return data;
  }
}
