BMFUserLocation.fromMap constructor

BMFUserLocation.fromMap(
  1. 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'];
}