Map<String, Object?> toJson() { var projects = this.projects; final json = <String, Object?>{}; json[r'projects'] = projects.map((i) => i.toJson()).toList(); return json; }