Blog.fromGraphJson constructor
The blog from json
Implementation
factory Blog.fromGraphJson(Map<String, dynamic> json) => Blog(
id: (json['node'] ?? {})['id'],
handle: (json['node'] ?? {})['handle'],
title: (json['node'] ?? {})['title'],
onlineStoreUrl: (json['node'] ?? {})['onlineStoreUrl'],
articles: Articles.fromGraphJson(
((json['node'] ?? const {})['articles']) ?? const {},
),
);