toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.id != null) {
    json[r'id'] = this.id;
  } else {
    json[r'id'] = null;
  }
  if (this.appliedAt != null) {
    json[r'applied_at'] = this.appliedAt!.toUtc().toIso8601String();
  } else {
    json[r'applied_at'] = null;
  }
    json[r'job_post'] = this.jobPost;
  if (this.isProfileComplete != null) {
    json[r'is_profile_complete'] = this.isProfileComplete;
  } else {
    json[r'is_profile_complete'] = null;
  }
    json[r'tutor_message'] = this.tutorMessage;
  return json;
}