IndoorBeacon class
The class IndoorBeacon
is a Dart class that represents a Indoor Beacon. Currently it supports only iBeacon format.
It has various properties such as beaconId
, major
, minor
, venueID
, date
, identifier
, latitude
,
longitude
, and properties
.
Constructors
Properties
- beaconId ↔ String
-
The UUID of the beacon.
getter/setter pair
- date ↔ int
-
The date when the beacon was added/updated.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier ↔ String
-
Woosmap identifier of the beacon.
getter/setter pair
- latitude ↔ double
-
Latitude of the beacon.
getter/setter pair
- longitude ↔ double
-
Longitude of the beacon.
getter/setter pair
- major ↔ int
-
The Major version of the beacon.
getter/setter pair
- minor ↔ int
-
The Minor version of the beacon.
getter/setter pair
-
properties
↔ Map<
String, dynamic> -
Custom properties associated to the beacon.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- venueId ↔ String
-
The ID of the venue to which this beacon belongs to.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
jsonToObj(
Map< String, dynamic> json) → IndoorBeacon -
The function
jsonToObj
takes a JSON object and returns aIndoorBeacon
object with the corresponding properties. @param {Map<String, dynamic>} json - A map containing key-value pairs where the keys are strings and the values can be of any type. @returns an instance of the IndoorBeacon class.