Trade.fromMap constructor
Trade.fromMap(
- Map m
Implementation
Trade.fromMap(Map m)
: this.id = m['id'],
this.price = num.parse(m['price']),
this.qty = num.parse(m['qty']),
this.time = DateTime.fromMillisecondsSinceEpoch(m['time']),
this.isBuyerMaker = m['isBuyerMaker'],
this.isBestMatch = m['isBestMatch'];