requestData method
Requests data from object store or index.
securityOrigin
At least and at most one of securityOrigin, storageKey must be specified.
Security origin.
storageKey
Storage key.
databaseName
Database name.
objectStoreName
Object store name.
indexName
Index name, empty string for object store data requests.
skipCount
Number of records to skip.
pageSize
Number of records to fetch.
keyRange
Key range.
Implementation
Future<RequestDataResult> requestData(String databaseName,
String objectStoreName, String indexName, int skipCount, int pageSize,
{String? securityOrigin, String? storageKey, KeyRange? keyRange}) async {
var result = await _client.send('IndexedDB.requestData', {
'databaseName': databaseName,
'objectStoreName': objectStoreName,
'indexName': indexName,
'skipCount': skipCount,
'pageSize': pageSize,
if (securityOrigin != null) 'securityOrigin': securityOrigin,
if (storageKey != null) 'storageKey': storageKey,
if (keyRange != null) 'keyRange': keyRange,
});
return RequestDataResult.fromJson(result);
}