parseList static method
Parses a list of JSON objects into a list of Article instances.
Returns an empty list if list is null, not a list, or empty.
Implementation
static List<Article> parseList(dynamic list) {
if (list == null || list is! List || list.isEmpty) return [];
return list.map((e) => Article.fromJson(e)).toList();
}