class jobDescriptionResponse { JobDescription? jobDescription; String? error; String? message; int? sessionExists; jobDescriptionResponse( {this.jobDescription, this.error, this.message, this.sessionExists}); jobDescriptionResponse.fromJson(Map json) { jobDescription = json['job_description'] != null ? new JobDescription.fromJson(json['job_description']) : null; error = json['error']; message = json['message']; sessionExists = json['session_exists']; } Map toJson() { final Map data = new Map(); if (this.jobDescription != null) { data['job_description'] = this.jobDescription!.toJson(); } data['error'] = this.error; data['message'] = this.message; data['session_exists'] = this.sessionExists; return data; } } class JobDescription { String? name; String? jobDescription; String? id; JobDescription({this.name, this.jobDescription, this.id}); JobDescription.fromJson(Map json) { name = json['name']; jobDescription = json['job_description']; id = json['id']; } Map toJson() { final Map data = new Map(); data['name'] = this.name; data['job_description'] = this.jobDescription; data['id'] = this.id; return data; } }