MiniTicker.fromMap constructor
MiniTicker.fromMap(
- Map m
Implementation
MiniTicker.fromMap(Map m)
: this.eventType = m['e'],
this.eventTime = DateTime.fromMillisecondsSinceEpoch(m['E']),
this.symbol = m['s'],
this.close = double.parse(m['c']),
this.open = double.parse(m['o']),
this.high = double.parse(m['h']),
this.low = double.parse(m['l']),
this.volume = double.parse(m['v']),
this.quoteVolume = double.parse(m['q']);