services/places/places_pod_file library

POD file operations for places service.

Contains low-level file read/write operations for places data.

Copyright (C) 2025, Software Innovation Institute, ANU.

Licensed under the GNU General Public License, Version 3 (the "License").

License: https://opensource.org/license/gpl-3-0.

Constants

placesFileName → const String

Functions

deleteAllIndividualPlaceFiles(List<String> ids) Future<void>
Delete all individual place files for given place IDs.
deleteIndividualPlaceFile(String placeId) Future<bool>
Delete an individual place file.
getIndividualPlaceFilePath(String placeId) Future<String>
Get file path for individual place file.
getPlacesDirPath() Future<String>
Get the directory path for places.
getPlacesFilePath() Future<String>
Get the full file path for places.json.
readPlacesJsonFile() Future<String?>
Read the main places.json file.
writeIndividualPlaceFile(Place place) Future<bool>
Write an individual place file.
writePlacesJsonFile(String content) Future<bool>
Write content to places.json file.