MarketIndexIdentified.fromJson constructor
Constructs a MarketIndexIdentified instance from a JSON map.
Parameters:
json
: A map containing the JSON data.
Implementation
MarketIndexIdentified.fromJson(Map<String, dynamic> json)
: this.id = Convert.toStr(json['id'], ''),
this.name = Convert.toStr(json['name'], ''),
this.market = Convert.toStr(json['market'], ''),
this.last = Convert.toDouble(json['last'], 0),
this.isMultiAssetComposite =
Convert.toBooleanN(json['is_multi_asset_composite']);