toJson method
Converts this GIPHY to JSON
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
'title': title,
'type': type,
'id': id,
'slug': slug,
'url': url,
'bitly_url': bitlyUrl,
'embed_url': embedUrl,
'username': username,
'source': source,
'rating': rating?.name,
'content_url': contentUrl,
'source_tld': sourceTld,
'source_post_url': sourcePostUrl,
'create_datetime': createDateTime?.toIso8601String(),
'import_datetime': importDateTime?.toIso8601String(),
'trending_datetime': trendingDateTime?.toIso8601String(),
'user': user?.toJson(),
'images': images.toJson()
};