Skip to content

SignalStrength

The relative received signal strength of a wireless device. The unit of the received signal strength indicator (rssi) is arbitrary and determined by the chip manufacturer, but the greater the value, the stronger the signal.

Data type CarpDataTypes.SIGNAL_STRENGTH.

Inheritance
Annotations

Constructors

SignalStrength.fromJson

SignalStrength.fromJson(
  1. Map<String, dynamic> json
)

SignalStrength

SignalStrength({
  1. int rssi = 0,
})

Properties

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

rssi

int rssi
getter/setter pair

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.