MarketSparkline.fromJson constructor
Constructs a MarketSparkline instance from a JSON map.
The json
parameter is a map containing the sparkline data.
Implementation
MarketSparkline.fromJson(Map<String, dynamic> json)
: this.price = Convert.toListOfDouble(json['price']);