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>, NativeString),
void Function(Pointer<Void>, NativeString)
>('navigine_sdk_flutter_StorageManager_removeStorage__Name'));
_removeStorageFfi(this.ptr, toNativeString(name));
exception.checkCallResult();
}