WeatherDescription.fromMap constructor

WeatherDescription.fromMap(
  1. dynamic map
)

Implementation

factory WeatherDescription.fromMap(dynamic map) {
  return WeatherDescription(
    publicTime: _str2dt(map['publicTime'])!,
    text: map['text'],
  );
}