Map<String, dynamic> toJson() { final Map<String, dynamic> data = <String, dynamic>{}; if (newsList != null) { data['news_list'] = newsList!.map((v) => v.toJson()).toList(); } return data; }