BMFPoiIndoorInfo.fromMap constructor
- Map map
map => BMFPoiIndoorInfo
Implementation
BMFPoiIndoorInfo.fromMap(Map map)
: assert(map != null,
'Construct a BMFPoiIndoorInfo,The parameter map cannot be null !') {
name = map['name'];
uid = map['uid'];
indoorID = map['indoorID'];
floor = map['floor'];
address = map['address'];
city = map['city'];
phone = map['phone'];
pt = map['pt'] == null ? null : BMFCoordinate.fromMap(map['pt']);
tag = map['tag'];
price = map['price'];
starLevel = map['starLevel'];
grouponFlag = map['grouponFlag'] as bool;
takeoutFlag = map['takeoutFlag'] as bool;
waitedFlag = map['waitedFlag'] as bool;
grouponNum = map['grouponNum'] as int;
discount = map['discount'] as int;
}