BMFWeatherSearchAlerts.fromMap constructor Null safety
- Map map
map => BMFWeatherSearchAlerts
Implementation
BMFWeatherSearchAlerts.fromMap(Map map)
: assert(
map != null, // ignore: unnecessary_null_comparison
'Construct a BMFWeatherSearchAlerts,The parameter map cannot be null !') {
type = map['type'];
level = map['level'];
desc = map['desc'];
}