toJsonFromList static method
Implementation
static List<dynamic> toJsonFromList(List<SimpleArticle> articles) {
if (articles == null) return [];
return articles.map((a) => a.toJson()).toList();
}
static List<dynamic> toJsonFromList(List<SimpleArticle> articles) {
if (articles == null) return [];
return articles.map((a) => a.toJson()).toList();
}