SunRsp.fromMap constructor

SunRsp.fromMap(
  1. Map map
)

Implementation

SunRsp.fromMap(Map<dynamic, dynamic> map) {
  code = map['code'] as String;
  basic = Basic.fromMap(map['basic'] ?? Map());
  refer = Refer.fromMap(map['refer'] ?? Map());
  sun = Sun.fromMap(map);
}