fromJson static method

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

Implementation

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