Background safe storage

Generated reference for ovok_flutter: background safe storage.

  • Stable unknown
  • Release candidate since 0.1.0-rc.6
  • Development since 0.1.0-dev.32+1028d01

BackgroundSafeClientStorage

class BackgroundSafeClientStorage implements OvokSecureStore

Secure storage adapter that can clear values after a background relaunch.

Constructors

BackgroundSafeClientStorage.new

BackgroundSafeClientStorage({required OvokSecureStore secureStore, String keyListKey = _defaultKeyListKey})

Creates an adapter over the app's secure store.

ParameterTypeKindDefault
secureStoreOvokSecureStorerequired named
keyListKeyStringnamed_defaultKeyListKey

Properties

BackgroundSafeClientStorage.keyListKey

final String keyListKey

Secure-store key used for the adapter's value index.

Methods

BackgroundSafeClientStorage.reload

Future<void> reload()

Re-reads the index after the operating system makes secure storage available.

Returns Future<void>.

BackgroundSafeClientStorage.clear

Future<void> clear()

Removes every value written through this adapter.

Returns Future<void>.

Last updated on

On this page