GiphyOriginalImage.fromJson constructor

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

Implementation

factory GiphyOriginalImage.fromJson(Map<String, dynamic?> json) {
  return GiphyOriginalImage(
      url: json['url'],
      width: json['width'],
      height: json['height'],
      size: json['size'],
      frames: json['frames'],
      mp4: json['mp4'],
      mp4Size: json['mp4_size'],
      webp: json['webp'],
      webpSize: json['webp_size'],
      hash: json['hash']);
}