BMFWeatherSearchResult class Null safety
注意:天气服务高级字段,需要申请高级权限 http://lbsyun.baidu.com/apiconsole/fankui#?typeOne=产品需求&typeTwo=高级服务
Constructors
-
BMFWeatherSearchResult({BMFWeatherSearchNow? realTimeWeather, BMFWeatherSearchLocation? location, List<
BMFWeatherSearchForecasts> ? forecasts, List<BMFWeatherSearchForecastForHours> ? forecastHours, List<BMFWeatherSearchIndexes> ? lifeIndexes, List<BMFWeatherSearchAlerts> ? weatherAlerts}) - 有参构造
- BMFWeatherSearchResult.fromMap(Map map)
- map => BMFWeatherSearchResult
Properties
-
forecastHours
↔ List<
BMFWeatherSearchForecastForHours> ? -
未来24小时逐小时预报,高级字段
read / write
-
forecasts
↔ List<
BMFWeatherSearchForecasts> ? -
未来5天预报数据
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
-
lifeIndexes
↔ List<
BMFWeatherSearchIndexes> ? -
生活指数数据,高级字段
read / write
- location ↔ BMFWeatherSearchLocation?
-
地理位置信息
read / write
- realTimeWeather ↔ BMFWeatherSearchNow?
-
天气实况数据
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
weatherAlerts
↔ List<
BMFWeatherSearchAlerts> ? -
气象预警数据,高级字段
read / write
Methods
-
fromMap(
Map map) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited