Coin.fromJson constructor

Coin.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Coin.fromJson(Map<String, dynamic> json) {
  json = json;
  id = json['id'];
  symbol = json['symbol'];
  name = json['name'];
}