toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "id": id,
  "title": title,
  "url_viewer": urlViewer,
  "url": url,
  "display_url": displayUrl,
  "width": width,
  "height": height,
  "size": size,
  "time": time,
  "expiration": expiration,
  "image": image?.toJson(),
  "thumb": thumb?.toJson(),
  "delete_url": deleteUrl,
};