StorageManager class abstract

Interface for managing multiple key-value storages, providing access and lifecycle control. Referenced from NavigineSdk.

Implemented types
Implementers

Constructors

StorageManager()

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. name Storage name (case-sensitive). Returns Key–value storage instance KeyValueStorage
getStorageList() List<String>
Returns the list of all existing user storages. Returns 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. Note: Existing handles to this storage become invalid after removal and further operations may fail. name Storage name (case-sensitive).
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited