CoinDataPoint.fromArray constructor
CoinDataPoint.fromArray(
- List dataPoint
Implementation
CoinDataPoint.fromArray(List<dynamic> dataPoint) {
date = DateTime.fromMillisecondsSinceEpoch(dataPoint[0]);
price = StaticHelpers.checkDouble(dataPoint[1],-1.0);
}