MessageEmbedImage.fromJson constructor

MessageEmbedImage.fromJson(
  1. Map<String, dynamic> raw
)

Implementation

factory MessageEmbedImage.fromJson(Map<String, dynamic> raw) {
  return MessageEmbedImage(
    url: raw['url'],
    proxyUrl: raw['proxy_url'],
    height: raw['height'],
    width: raw['width'],
  );
}