fromJson static method

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

Implementation

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