Trade.fromMap constructor

Trade.fromMap(
  1. 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'];