Candle.fromJson constructor
Candle.fromJson(
- List json
Implementation
Candle.fromJson(List<dynamic> json)
: date = DateTime.fromMillisecondsSinceEpoch(json[0]),
high = double.parse(json[2]),
low = double.parse(json[3]),
open = double.parse(json[1]),
close = double.parse(json[4]),
volume = double.parse(json[5]);