IndexInfo.fromMap constructor

IndexInfo.fromMap(
  1. Map m
)

Implementation

IndexInfo.fromMap(Map m)
    : symbol = m['symbol'],
      time = m['time'],
      component = m['component'],
      baseAssetList = (m['baseAssetList'] as List<dynamic>)
          .map((e) => IndexAsset.fromMap(e))
          .toList();