parseBlogPageConfigs function
- Object? json
A list of blog posts, as blog_settings.json holds it.
Implementation
List<BlogPageConfig> parseBlogPageConfigs(Object? json) =>
(json as List<dynamic>)
.map((e) => BlogPageConfig.fromJsonFile(e as Map<String, dynamic>))
.toList();