toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
'title': title,
'type': type,
'id': id,
'slug': slug,
'url': url,
'bitly_gif_url': bitlyGifUrl,
'bitly_url': bitlyUrl,
'embed_url': embedUrl,
'username': username,
'source': source,
'rating': rating,
'content_url': contentUrl,
'source_tld': sourceTld,
'source_post_url': sourcePostUrl,
'is_sticker': isSticker,
'import_datetime': importDatetime?.toIso8601String(),
'trending_datetime': trendingDatetime?.toIso8601String(),
'user': user,
'images': images
};
}