getSharedStorageEntries method

Future<List<SharedStorageEntry>> getSharedStorageEntries(
  1. String ownerOrigin
)

Gets the entries in an given origin's shared storage.

Implementation

Future<List<SharedStorageEntry>> getSharedStorageEntries(
    String ownerOrigin) async {
  var result = await _client.send('Storage.getSharedStorageEntries', {
    'ownerOrigin': ownerOrigin,
  });
  return (result['entries'] as List)
      .map((e) => SharedStorageEntry.fromJson(e as Map<String, dynamic>))
      .toList();
}