Map<String, dynamic> toJson() { return { 'reason': reason.toJson(), if (manifestUrl != null) 'manifestUrl': manifestUrl, }; }