ExchangeInfo.fromMap constructor

ExchangeInfo.fromMap(
  1. Map m
)

Implementation

ExchangeInfo.fromMap(Map m)
    : timezone = m['timezone'],
      serverTime = m['serverTime'],
      rateLimits = m['rateLimits'],
      exchangeFilters = (m['exchangeFilters'] as List<dynamic>)
          .map((e) => Filter.fromMap(e))
          .toList(),
      symbols = (m['symbols'] as List<dynamic>)
          .map((e) => Symbol.fromMap(e))
          .toList();