DailyIndicesResp.fromMap constructor

DailyIndicesResp.fromMap(
  1. Map map
)

fromMap

Implementation

DailyIndicesResp.fromMap(Map<dynamic, dynamic> map) {
  code = map['code'] as String;
  refer = Refer.fromMap(map['refer'] ?? Map());
  List _tmp = map['dailyList'] ?? [];
  dailyList = _tmp.map((v) => DailyIndices.fromMap(v)).toList();
}