PaidMediaPreview.fromJson constructor
Creates a PaidMediaPreview object from JSON.
Implementation
factory PaidMediaPreview.fromJson(Map<String, dynamic> json) {
return PaidMediaPreview(
width: json['width'],
height: json['height'],
duration: json['duration'],
);
}