wipeStorage static method
Wipe all storage data.
excludeKeys - Optional list of keys to exclude from deletion.
andFromBackpack - Whether to also remove data from Backpack (default: true).
Implementation
static Future<void> wipeStorage({
List<String>? excludeKeys,
bool andFromBackpack = true,
}) async {
await NyStorage.deleteAll(
andFromBackpack: andFromBackpack,
excludeKeys: excludeKeys,
);
}