Symbol.fromMap constructor

Symbol.fromMap(
  1. Map m
)

Implementation

Symbol.fromMap(Map m)
    : this.symbol = m['symbol'],
      this.status = statusMap[m['status']]!,
      this.baseAsset = m['baseAsset'],
      this.baseAssetPrecision = m['baseAssetPrecision'],
      this.quoteAsset = m['quoteAsset'],
      this.quotePrecision = m['quotePrecision'],
      this.orderTypes = List<String>.from(m['orderTypes'])
          .map((s) => orderTypeMap[s]!)
          .toList(),
      this.icebergAllowed = m['icebergAllowed'];