Parameter class Weather

Weather parameter data.

Contains weather-related measurements such as temperature, humidity, wind speed, etc. Provided by Conditions.params to represent specific weather attributes.

Constructors

Parameter({required String type, required double value, required String name, required String unit})
Creates a Parameter instance.
Parameter.fromJson(Map<String, dynamic> json)
Deserializes a JSON-compatible map to create an instance.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Parameter name translated to current SDK language.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Parameter type identifier.
getter/setter pair
unit String
Unit of measurement for the parameter value.
getter/setter pair
value double
Numeric value of the parameter.
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