ExchangeMarket.fromJson constructor
Constructs an ExchangeMarket instance from a JSON map.
The json
parameter is a map containing the exchange market data.
Implementation
ExchangeMarket.fromJson(Map<String, dynamic> json)
: this.name = Convert.toStr(json['name'], ''),
this.identifier = Convert.toStr(json['identifier'], ''),
this.hasTradingIncentive =
Convert.toBoolean(json['has_trading_incentive'], false),
this.logo = Convert.toStrN(json['logo']);