access

open fun access(): HashMap<String, Any>

Access the HashMap of all stored values in the filesystem. When this resource is closed, the values are saved to the file, so ensure to use a try-with-resources block or call close when done. Warning: Trying to add objects to the HashMap that are not serializable by Gson will throw an exception on write, and may cause in the corruption of the storage file (other valid objects may be lost)

Return

the stored values