fromGraphJson static method
Implementation
static Comment fromGraphJson(Map<String, dynamic> json) {
return Comment(
email: ((json['node'] ?? const {})['author'] ?? const {})['email'],
name: ((json['node'] ?? const {})['author'] ?? const {})['name'],
content: (json['node'] ?? const {})['content'],
contentHtml: (json['node'] ?? const {})['contentHtml'],
id: (json['node'] ?? const {})['id']);
}