GiphyOriginalImage.fromJson constructor

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

Creates a new original image from json

Implementation

factory GiphyOriginalImage.fromJson(Map<String, dynamic> json) =>
    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'],
    );