BMFGeoCodeSearchResult.fromMap constructor

BMFGeoCodeSearchResult.fromMap(
  1. Map map
)

map => BMFGeoCodeSearchResult

Implementation

BMFGeoCodeSearchResult.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFGeoCodeSearchResult,The parameter map cannot be null !') {
  location =
      map['location'] == null ? null : BMFCoordinate.fromMap(map['location']);
  precise = map['precise'];
  confidence = map['confidence'];
  level = map['level'];
}