CurrentWeatherResponse class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
CurrentWeatherResponse({required DateTime dt, required Coordinate coordinate, required List<Weather> weather, required String base, required ResponseMain main, int? visibility, required Wind wind, required Clouds clouds, Rain? rain, Snow? snow, required Sys sys, required double timezone, required int id, required String name, required int cod})
-
-
CurrentWeatherResponse.fromJson(Map<String, dynamic> json)
-
Connect the generated
_$CurrentWeatherResponseFromJson
function to the fromJson
factory.
factory
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Connect the generated
_$CurrentWeatherResponseToJson
function to the toJson
method.
-
toString()
→ String
-
A string representation of this object.
override