BookDepth.fromMap constructor
BookDepth.fromMap(
- Map m
Implementation
BookDepth.fromMap(Map m)
: this.lastUpdateId = m["lastUpdateId"],
this.bids =
List<DepthPoint>.from(m["bids"].map((b) => DepthPoint.fromList(b))),
this.asks =
List<DepthPoint>.from(m["asks"].map((b) => DepthPoint.fromList(b)));