StorageManager class abstract
@ingroup navigine_dart_classes @ingroup navigine_dart_managers @brief Interface for managing multiple key-value storages, providing access and lifecycle control.
Referenced from @see NavigineSdk "NavigineSdk".
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getStorage(
String name) → KeyValueStorage - Returns a handle to a storage by name, creating it if it does not exist. @param name Storage name (case-sensitive). @return Key–value storage instance @see KeyValueStorage "KeyValueStorage"
-
getStorageList(
) → List< String> - Returns the list of all existing user storages. @return List of storage names (implementation currently returns them in alphabetical order).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeStorage(
String name) → void - Removes the storage and all its persisted data. If the storage does not exist, this is a no-op. @param name Storage name (case-sensitive). @note Existing handles to this storage become invalid after removal and further operations may fail.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited