Kline.fromList constructor

Kline.fromList(
  1. List c
)

Implementation

Kline.fromList(List c)
    : this.openTime = DateTime.fromMillisecondsSinceEpoch(c.first),
      this.open = double.parse(c[1]),
      this.high = double.parse(c[2]),
      this.low = double.parse(c[3]),
      this.close = double.parse(c[4]),
      this.volume = double.parse(c[5]),
      this.closeTime = DateTime.fromMillisecondsSinceEpoch(c[6]),
      this.quoteVolume = double.parse(c[7]),
      this.tradesCount = c[8],
      this.takerBase = double.parse(c[9]),
      this.takerQuote = double.parse(c[10]);