Beacon class

Annotations

Constructors

Beacon({required IBeaconId id, required int rssi, required double accuracy, String? macAddress, Proximity proximity = Proximity.unknown, int? txPower})
const
Beacon.fromJson(dynamic json)
factory

Properties

accuracy double
The accuracy of distance of beacon in meter.
final
hashCode int
The hash code for this object.
no setteroverride
id IBeaconId
Id of Beacon
final
macAddress String?
The mac address of beacon
final
proximity Proximity
The proximity of beacon
final
rssi int
The rssi of beacon
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
txPower int?
The transmission power of beacon
final

Methods

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

Operators

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