QueryTrackCacheInfoOption.fromMap constructor
- Map map
map => QueryTrackCacheInfoOption
Implementation
QueryTrackCacheInfoOption.fromMap(Map map)
: assert(map != null,
'Construct a QueryTrackCacheInfoOption,The parameter map cannot be null !'),
super.fromMap(map) {
if (map['entityNames'] != null) {
entityNames = new List<String>();
map['entityNames'].forEach((e) {
entityNames.add(e);
});
}
startTime = map['startTime'];
endTime = map['endTime'];
needDistance = map['needDistance'];
distanceFilter = map['distanceFilter'];
}