WeatherMsg.from constructor

WeatherMsg.from(
  1. Map data
)

Implementation

WeatherMsg.from(Map data)
    : city = data['t'] ?? '',
      description = data['st'] ?? '',
      data = WeatherMsg.getData(data);