Map<String, dynamic> toJson() { return <String, dynamic>{ if (publication != null) r'publication': publication, }; }