CommunityData.fromJson constructor
CommunityData.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CommunityData.fromJson(Map<String, dynamic> json) => CommunityData(
facebookLikes: json["facebook_likes"],
twitterFollowers: json["twitter_followers"],
redditAveragePosts48H: json["reddit_average_posts_48h"].toDouble(),
redditAverageComments48H:
json["reddit_average_comments_48h"].toDouble(),
redditSubscribers: json["reddit_subscribers"],
redditAccountsActive48H: json["reddit_accounts_active_48h"],
telegramChannelUserCount: json["telegram_channel_user_count"],
);