toJson method
Converts the GiphyUser instance to a JSON map.
Implementation
Map<String, dynamic> toJson() {
return {
'id': id,
'avatarUrl': avatarUrl,
'avatar': avatar,
'bannerUrl': bannerUrl,
'bannerImage': bannerImage,
'profileUrl': profileUrl,
'username': username,
'displayName': displayName,
'email': email,
'twitter': twitter,
'isPublic': isPublic,
'attributionDisplayName': attributionDisplayName,
'name': name,
'description': description,
'aboutBio': aboutBio,
'facebookUrl': facebookUrl,
'twitterUrl': twitterUrl,
'instagramUrl': instagramUrl,
'tumblrUrl': tumblrUrl,
'tiktokUrl': tiktokUrl,
'youtubeUrl': youtubeUrl,
'isSuppressChrome': isSuppressChrome,
'websiteUrl': websiteUrl,
'websiteDisplayUrl': websiteDisplayUrl,
'verified': verified,
'isStaff': isStaff,
'userType': userType,
};
}