ExchangeInfo.fromMap constructor

ExchangeInfo.fromMap(
  1. Map m
)

Implementation

ExchangeInfo.fromMap(Map m)
    : this.timezone = m['timezone'],
      this.serverTime = DateTime.fromMillisecondsSinceEpoch(m['serverTime']),
      this.symbols =
          m['symbols'].map<Symbol>((s) => Symbol.fromMap(s)).toList();