GiphyOriginalImage.fromJson constructor

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

Implementation

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