clearDataForStorageKey method

Future<void> clearDataForStorageKey(
  1. String storageKey,
  2. String storageTypes
)

Clears storage for storage key. storageKey Storage key. storageTypes Comma separated list of StorageType to clear.

Implementation

Future<void> clearDataForStorageKey(
  String storageKey,
  String storageTypes,
) async {
  await _client.send('Storage.clearDataForStorageKey', {
    'storageKey': storageKey,
    'storageTypes': storageTypes,
  });
}