StormListRsp.fromMap constructor

StormListRsp.fromMap(
  1. Map map
)

fromMap

Implementation

StormListRsp.fromMap(Map<dynamic, dynamic> map) {
  code = map['code'] as String;
  basic = Basic.fromMap(map['basic'] ?? Map());
  refer = Refer.fromMap(map['refer'] ?? Map());
  stormList = (map["stormList"] ?? []).map((v) => Storm.fromMap(v)).toList();
}