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 _handle = this.handle;
final __resultHandle = _getLocationListFfi(_handle, );
final _result = navigine_sdk_flutter_Map_int_LocationInfo_FromFfi(__resultHandle);
navigine_sdk_flutter_Map_int_LocationInfo_ReleaseFfiHandle(__resultHandle);
return _result;
}