Home > @magiclane/maps-sdk > Parameter

Parameter class

Weather parameter data.

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

Weather

Signature:

export declare class Parameter 

Constructors

Constructor

Modifiers

Description

(constructor)(type, value, name, unit)

Creates a Parameter instance.

Properties

Property

Modifiers

Type

Description

name

string

type

string

unit

string

value

number

Methods

Method

Modifiers

Description

equals(other)

Check equality with another Parameter.

fromJson(json)

static

Deserializes a JSON-compatible map to create an instance.

hashCode()

Get hash code for this Parameter.