Interface for managing multiple key-value storages, providing access and lifecycle control. More...
Inherits Finalizable.
Public Member Functions | |
| List< String > | getStorageList () |
| KeyValueStorage | getStorage (String name) |
| void | removeStorage (String name) |
Interface for managing multiple key-value storages, providing access and lifecycle control.
Referenced from NavigineSdk.
Definition at line 19 of file storage_manager.dart.
| KeyValueStorage StorageManager.getStorage | ( | String | name | ) |
Returns a handle to a storage by name, creating it if it does not exist.
| name | Storage name (case-sensitive). |
Dart code snippet:
| List< String > StorageManager.getStorageList | ( | ) |
Returns the list of all existing user storages.
Dart code snippet:
| void StorageManager.removeStorage | ( | String | name | ) |
Removes the storage and all its persisted data. If the storage does not exist, this is a no-op.
| name | Storage name (case-sensitive). |
Dart code snippet: