ExchangeShort.fromJson constructor
Constructs an ExchangeShort instance from a JSON map.
The json
parameter is a map containing the exchange data.
Implementation
ExchangeShort.fromJson(Map<String, dynamic> json)
: this.id = Convert.toStr(json['id'], ''),
this.name = Convert.toStr(json['name'], '');