PolarDeviceInfo class

Polar device info

Annotations
  • @JsonSerializable()

Constructors

PolarDeviceInfo({required String deviceId, required String address, required int rssi, required String name, required bool isConnectable})
Constructor
PolarDeviceInfo.fromJson(Map<String, dynamic> json)
From json
factory

Properties

address String
The mac address of the polar device. Definitely empty on iOS. Probably empty on modern Android versions.
final
deviceId String
polar device id or UUID for 3rd party sensors
final
hashCode int
The hash code for this object.
no setterinherited
isConnectable bool
true adv type is connectable
final
name String
local name from advertisement
final
rssi int
RSSI (Received Signal Strength Indicator) value from advertisement
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
To json
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited