GiphyDownsampledImage.fromJson constructor

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

Implementation

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