BMFWeatherSearchLocation.fromMap constructor

BMFWeatherSearchLocation.fromMap(
  1. Map map
)

map => BMFWeatherSearchLocation

Implementation

BMFWeatherSearchLocation.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFWeatherSearchLocation,The parameter map cannot be null !') {
  country = map['country'];
  province = map['province'];
  city = map['city'];
  districtName = map['districtName'];
  districtID = map['districtID'];
}