getStorageKeyForFrame method

Future<SerializedStorageKey> getStorageKeyForFrame(
  1. FrameId frameId
)

Returns a storage key given a frame id.

Implementation

Future<SerializedStorageKey> getStorageKeyForFrame(
    page.FrameId frameId) async {
  var result = await _client.send('Storage.getStorageKeyForFrame', {
    'frameId': frameId,
  });
  return SerializedStorageKey.fromJson(result['storageKey'] as String);
}