class DeliverdOrderModel {
  int driverID;
  String searchKey;
  int pageSize;
  int pageIndex;
  String tokenID;
  String userID;
  String mobileNo;
  String longitude;
  String latitude;
  String firstName;

  DeliverdOrderModel(
      {this.driverID,
      this.searchKey,
      this.pageSize,
      this.pageIndex,
      this.tokenID,
      this.userID,
      this.mobileNo,
      this.longitude,
      this.latitude,
      this.firstName});

  DeliverdOrderModel.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'];
    longitude = json['Longitude'];
    latitude = json['Latitude'];
    firstName = json['FirstName'];
  }

  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;
    return data;
  }
}
