Map<String, Object?> toJson() { var publishers = this.publishers; final json = <String, Object?>{}; if (publishers != null) { json[r'publishers'] = publishers.toJson(); } return json; }