CoinsCurrentLinks.fromJson constructor
CoinsCurrentLinks.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CoinsCurrentLinks.fromJson(Map<String, dynamic> json) =>
CoinsCurrentLinks(
homepage: List<String>.from(json['homepage'].map((x) => x)),
blockchainSite:
List<String>.from(json['blockchain_site'].map((x) => x)),
officialForumUrl:
List<String>.from(json['official_forum_url'].map((x) => x)),
chatUrl: List<String>.from(json['chat_url'].map((x) => x)),
announcementUrl:
List<String>.from(json['announcement_url'].map((x) => x)),
twitterScreenName: json['twitter_screen_name'],
facebookUsername: json['facebook_username'],
bitcointalkThreadIdentifier: json['bitcointalk_thread_identifier'],
telegramChannelIdentifier: json['telegram_channel_identifier'],
subredditUrl: json['subreddit_url'],
reposUrl: CoinsCurrentLinksReposUrl.fromJson(json['repos_url']),
);