class GetDepartmentSections { int? departmentId; String? departmentName; int? departmentSectionId; String? projectCode; int? projectId; String? projectName; int? sectionId; String? sectionName; GetDepartmentSections( {this.departmentId, this.departmentName, this.departmentSectionId, this.projectCode, this.projectId, this.projectName, this.sectionId, this.sectionName}); GetDepartmentSections.fromJson(Map json) { departmentId = json['departmentId']; departmentName = json['departmentName']; departmentSectionId = json['departmentSectionId']; projectCode = json['projectCode']; projectId = json['projectId']; projectName = json['projectName']; sectionId = json['sectionId']; sectionName = json['sectionName']; } Map toJson() { Map data = new Map(); data['departmentId'] = this.departmentId; data['departmentName'] = this.departmentName; data['departmentSectionId'] = this.departmentSectionId; data['projectCode'] = this.projectCode; data['projectId'] = this.projectId; data['projectName'] = this.projectName; data['sectionId'] = this.sectionId; data['sectionName'] = this.sectionName; return data; } }