beacons property

List<Beacon> get beacons

List of beacons, attached to this sublocation Beacon.

Example:

// Get beacons
List<Beacon> beacons = sublocation.getBeacons();
print('Number of beacons: ${beacons.length}');

Implementation

List<Beacon> get beacons;