ExchangeMarket.fromJson constructor

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

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']);