fromJson static method

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

Implementation

static EmbedThumbnail fromJson(Map<String, dynamic> json) {
  return EmbedThumbnail(
    url: json['url'],
    proxyUrl: json['proxy_url'],
    height: json['height'],
    width: json['width'],
  );
}