beacons property

List<Beacon> get beacons
override

@brief List of beacons, attached to this sublocation @see Beacon "Beacon".

Dart code snippet: @snippet location_manager_example.dart dart_Sublocation_getBeacons

Implementation

List<Beacon> get beacons {
    final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Pointer<Void> Function(Pointer<Void>),
        Pointer<Void> Function(Pointer<Void>)
      >('navigine_sdk_flutter_Sublocation_beacons_get'));

    final _handle = this.handle;
    final _beaconsHandle = _getFfi(_handle);
    final _result = navigine_sdk_flutter_List_Beacon_FromFfi(_beaconsHandle);
    navigine_sdk_flutter_List_Beacon_ReleaseFfiHandle(_beaconsHandle);
    return _result;
}