BeaconDevice class

Beacon device data.

Annotations
  • @JsonSerializable(includeIfNull: false, explicitToJson: true)

Constructors

BeaconDevice.new({required int rssi, required String uuid, int? major, int? minor, double? accuracy, Proximity? proximity})
BeaconDevice.fromJson(Map<String, dynamic> json)
factory
BeaconDevice.fromRegionAndBeacon(Beacon beacon)

Properties

accuracy double?
The accuracy of distance of beacon in meter.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
major int?
Major value (for iBeacon).
getter/setter pair
minor int?
Minor value (for iBeacon).
getter/setter pair
proximity → Proximity?
The proximity of beacon.
final
rssi int
The RSSI signal strength to the device.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uuid String
The proximity UUID of beacon.
getter/setter pair

Methods

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

Operators

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