setStorageItems method

Future<void> setStorageItems(
  1. String id,
  2. StorageArea storageArea,
  3. Map<String, dynamic> values
)

Sets values in extension storage in the given storageArea. The provided values will be merged with existing values in the storage area. id ID of extension. storageArea StorageArea to set data in. values Values to set.

Implementation

Future<void> setStorageItems(
    String id, StorageArea storageArea, Map<String, dynamic> values) async {
  await _client.send('Extensions.setStorageItems', {
    'id': id,
    'storageArea': storageArea,
    'values': values,
  });
}