Conditions class Weather
Weather conditions for a given timestamp.
Constructors
-
Conditions.new({required String type, required DateTime stamp, required String description, required Daylight daylight, required List<
Parameter> params, required Img img}) - Creates a Conditions instance.
-
Conditions.fromJson(Map<
String, dynamic> json) -
factory
Properties
- daylight ↔ Daylight
-
Daylight condition.
getter/setter pair
- description ↔ String
-
Description translated according to the current SDK language.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → Uint8List
-
Image representation as bytes.
no setter
- img ↔ Img
-
The image object for the condition.
getter/setter pair
-
params
↔ List<
Parameter> -
List of weather parameters.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stamp ↔ DateTime
-
Datetime for the condition in UTC.
getter/setter pair
- type ↔ String
-
Type. For possible values see PredefinedParameterTypeValues.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited