class DriveThroughTestingCenterModel { int rowID; int iD; int projectID; String setupID; double longitude; double latitude; int numberOfTracks; bool isActive; int createdBy; String createdOn; dynamic editedBy; dynamic editedON; dynamic projectName; dynamic projectNameN; DriveThroughTestingCenterModel( {this.rowID, this.iD, this.projectID, this.setupID, this.longitude, this.latitude, this.numberOfTracks, this.isActive, this.createdBy, this.createdOn, this.editedBy, this.editedON, this.projectName, this.projectNameN}); DriveThroughTestingCenterModel.fromJson(Map json) { rowID = json['RowID']; iD = json['ID']; projectID = json['ProjectID']; setupID = json['SetupID']; longitude = json['Longitude']; latitude = json['Latitude']; numberOfTracks = json['NumberOfTracks']; isActive = json['IsActive']; createdBy = json['CreatedBy']; createdOn = json['CreatedOn']; editedBy = json['EditedBy']; editedON = json['EditedON']; projectName = json['ProjectName']; projectNameN = json['ProjectNameN']; } Map toJson() { final Map data = new Map(); data['RowID'] = this.rowID; data['ID'] = this.iD; data['ProjectID'] = this.projectID; data['SetupID'] = this.setupID; data['Longitude'] = this.longitude; data['Latitude'] = this.latitude; data['NumberOfTracks'] = this.numberOfTracks; data['IsActive'] = this.isActive; data['CreatedBy'] = this.createdBy; data['CreatedOn'] = this.createdOn; data['EditedBy'] = this.editedBy; data['EditedON'] = this.editedON; data['ProjectName'] = this.projectName; data['ProjectNameN'] = this.projectNameN; return data; } }