TentacledNode.fromJson constructor
from json
Implementation
factory TentacledNode.fromJson(Map<String, dynamic> json) => TentacledNode(
typename: json["__typename"] == null ? null : json["__typename"],
id: json["id"] == null ? null : json["id"],
shortcode: json["shortcode"] == null ? null : json["shortcode"],
dimensions: json["dimensions"] == null
? null
: Dimensions.fromJson(json["dimensions"]),
displayUrl: json["display_url"] == null ? null : json["display_url"],
mediaPreview:
json["media_preview"] == null ? null : json["media_preview"],
owner: json["owner"] == null ? null : Owner.fromJson(json["owner"]),
isVideo: json["is_video"] == null ? null : json["is_video"],
accessibilityCaption: json["accessibility_caption"] == null
? null
: json["accessibility_caption"],
);