removeStorage method
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).
Example:
// Remove storage and all its data
_storageManager!.removeStorage("test_storage");
print("Removed test storage");
Implementation
@override
void removeStorage(String name) {
final _removeStorageFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Void Function(Pointer<Void>, Pointer<Void>),
void Function(Pointer<Void>, Pointer<Void>)
>('navigine_sdk_flutter_StorageManager_removeStorage__Name'));
final _nameHandle = navigine_sdk_flutter_String_ToFfi(name);
final _handle = this.handle;
_removeStorageFfi(_handle, _nameHandle);
navigine_sdk_flutter_String_ReleaseFfiHandle(_nameHandle);
}