Beacon class

Information about a location beacon. Available in iOS 7.0.

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

Beacon({int? major, int? minor, required String proximityUUID, String? relevantText})
Beacon.fromJson(Map<String, dynamic> json)
Creates an instance of Beacon from a JSON object
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
major int?
Optional. Major identifier of a Bluetooth Low Energy location beacon.
final
minor int?
Optional. Minor identifier of a Bluetooth Low Energy location beacon.
final
proximityUUID String
Required. Unique identifier of a Bluetooth Low Energy location beacon.
final
relevantText String?
Optional. Text displayed on the lock screen when the pass is currently relevant. For example, a description of the nearby location such as “Store nearby on 1st and Main.”
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>
Converts this instance to a JSON object
toString() String
A string representation of this object.
inherited

Operators

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