BeaconRegion class
Beacon region to use when scanning for beacons.
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
- BeaconRegion.new({required String identifier, required String uuid, int? major, int? minor})
-
BeaconRegion.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier ↔ String
-
A unique identifier for the beacon region.
Used to distinguish between different regions being monitored.
getter/setter pair
- major ↔ int?
-
The major value of the beacon region (optional).
Used to further distinguish a subset of beacons within the same UUID.
getter/setter pair
- minor ↔ int?
-
The minor value of the beacon region (optional).
Provides a finer granularity within a group of beacons identified by
the same UUID and major value.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid ↔ String
-
The proximity UUID of the beacon.
This is a 128-bit value used to identify a group of related beacons.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toRegion(
) → Region -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited