OpenWeather class Null safety
Constructors
-
OpenWeather({required Coord coord, required List<
Weather> weather, required String base, required Main main, required int visibility, required Wind wind, Snow? snow, Snow? rain, required Clouds clouds, required int dt, required Sys sys, required int timezone, required int id, required String name, required int cod}) -
OpenWeather.fromJson(Map<
String, dynamic> json) -
factory
Properties
- base ↔ String
-
read / write
- clouds ↔ Clouds
-
read / write
- cod ↔ int
-
read / write
- coord ↔ Coord
-
read / write
- dt ↔ int
-
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ int
-
read / write
- main ↔ Main
-
read / write
- name ↔ String
-
read / write
- rain ↔ Snow?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- snow ↔ Snow?
-
read / write
- sys ↔ Sys
-
read / write
- timezone ↔ int
-
read / write
- visibility ↔ int
-
read / write
-
weather
↔ List<
Weather> -
read / write
- wind ↔ Wind
-
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited