BMFUserLocation.fromMap constructor
- Map map
map => BMFUserLocation
Implementation
BMFUserLocation.fromMap(Map map)
: assert(map != null,
'Construct a BMFUserLocation,The parameter map cannot be null') {
updating = map['updating'];
location =
map['location'] == null ? null : BMFLocation.fromMap(map['location']);
heading =
map['heading'] == null ? null : BMFHeading.fromMap(map['heading']);
title = map['title'];
subtitle = map['subtitle'];
}