GiphyPreviewImage.fromJson constructor

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

Implementation

factory GiphyPreviewImage.fromJson(Map<String, dynamic> json) {
  return GiphyPreviewImage(
    width: json['width'] as String?,
    height: json['height'] as String?,
    mp4: json['mp4'] as String?,
    mp4Size: json['mp4_size'] as String?,
  );
}