Item.fromJson constructor
Implementation
factory Item.fromJson(Map<String, dynamic> json) {
return Item(
id: json['id'] as String?,
name: json['name'] as String?,
symbol: json['symbol'] as String?,
marketCapRank: json['market_cap_rank'] as int?,
thumb: json['thumb'] as String?,
large: json['large'] as String?,
score: json['score'] as int?,
);
}