Seo.fromJson constructor

Seo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Seo.fromJson(Map<String, dynamic> json) {
  if (json["upload_date"] is String) uploadDate = json["upload_date"];
  if (json["embed_url"] is String) embedUrl = json["embed_url"];
  if (json["description"] is String) description = json["description"];
  if (json["thumbnail"] is String) thumbnail = json["thumbnail"];
}