TIMPoiInfo.fromMap constructor
TIMPoiInfo.fromMap(
- Map map
map => TIMPoiInfo
Implementation
TIMPoiInfo.fromMap(Map map)
: assert(
map != null, // ignore: unnecessary_null_comparison
'Construct a TIMPoiInfo,The parameter map cannot be null !') {
name = map['name'];
pt = map['pt'] == null ? null : TIMCoordinate.fromMap(map['pt']);
address = map['address'];
uid = map['uid'];
province = map['province'];
city = map['city'];
}