WsAggregatedTrade.fromMap constructor
WsAggregatedTrade.fromMap(
- Map m
Implementation
WsAggregatedTrade.fromMap(Map m)
: this.eventType = m['e'],
this.eventTime = DateTime.fromMillisecondsSinceEpoch(m['E']),
this.symbol = m['s'],
this.id = m['a'],
this.price = double.parse(m['p']),
this.qty = double.parse(m['q']),
this.firstTradeId = m['f'],
this.lastTradeId = m['l'],
this.time = DateTime.fromMillisecondsSinceEpoch(m['T']),
this.isBuyerMaker = m['m'],
this.isBestMatch = m['M'];