dev
dart 80 lines 2.1 KB
Raw
1 class Erc20TokenInfoExplorers {
2 String? contractAddress;
3 String? tokenName;
4 String? symbol;
5 String? divisor;
6 String? tokenType;
7 String? totalSupply;
8 String? blueCheckmark;
9 String? description;
10 String? website;
11 String? email;
12 String? blog;
13 String? reddit;
14 String? slack;
15 String? facebook;
16 String? twitter;
17 String? bitcointalk;
18 String? github;
19 String? telegram;
20 String? wechat;
21 String? linkedin;
22 String? discord;
23 String? whitepaper;
24 String? tokenPriceUSD;
25 String? image;
26
27 Erc20TokenInfoExplorers({
28 this.contractAddress,
29 this.tokenName,
30 this.symbol,
31 this.divisor,
32 this.tokenType,
33 this.totalSupply,
34 this.blueCheckmark,
35 this.description,
36 this.website,
37 this.email,
38 this.blog,
39 this.reddit,
40 this.slack,
41 this.facebook,
42 this.twitter,
43 this.bitcointalk,
44 this.github,
45 this.telegram,
46 this.wechat,
47 this.linkedin,
48 this.discord,
49 this.whitepaper,
50 this.tokenPriceUSD,
51 this.image,
52 });
53
54 Erc20TokenInfoExplorers.fromJson(Map<String, dynamic> json) {
55 contractAddress = json['contractAddress'] as String?;
56 tokenName = json['tokenName'] as String?;
57 symbol = json['symbol'] as String?;
58 divisor = json['divisor'] as String?;
59 tokenType = json['tokenType'] as String?;
60 totalSupply = json['totalSupply'] as String?;
61 blueCheckmark = json['blueCheckmark'] as String?;
62 description = json['description'] as String?;
63 website = json['website'] as String?;
64 email = json['email'] as String?;
65 blog = json['blog'] as String?;
66 reddit = json['reddit'] as String?;
67 slack = json['slack'] as String?;
68 facebook = json['facebook'] as String?;
69 twitter = json['twitter'] as String?;
70 bitcointalk = json['bitcointalk'] as String?;
71 github = json['github'] as String?;
72 telegram = json['telegram'] as String?;
73 wechat = json['wechat'] as String?;
74 linkedin = json['linkedin'] as String?;
75 discord = json['discord'] as String?;
76 whitepaper = json['whitepaper'] as String?;
77 tokenPriceUSD = json['tokenPriceUSD'] as String?;
78 image = json['image'] as String?;
79 }
80 }