getLocationList method
Method is used to get current location list LocationInfo. Returns dictionary {location_id -> location_info}
Example:
// Get current location list
Map<int, LocationInfo> currentLocationList = _locationListManager!.getLocationList();
print("Current location list contains ${currentLocationList.length} locations");
_demonstrateLocationList(currentLocationList);
Implementation
@override
Map<int, LocationInfo> getLocationList() {
final _getLocationListFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Pointer<Void> Function(Pointer<Void>, ),
Pointer<Void> Function(Pointer<Void>, )
>('navigine_sdk_flutter_LocationListManager_getLocationList'));
final __resultHandle = _getLocationListFfi(this.ptr, );
final _result = MapInt_LocationInfoImpl.fromNativePtr(__resultHandle);
exception.checkCallResult();
return _result;
}