getPermissionsPolicyState method
Get Permissions Policy state on given frame.
Implementation
Future<List<PermissionsPolicyFeatureState>> getPermissionsPolicyState(
FrameId frameId) async {
var result = await _client.send('Page.getPermissionsPolicyState', {
'frameId': frameId,
});
return (result['states'] as List)
.map((e) =>
PermissionsPolicyFeatureState.fromJson(e as Map<String, dynamic>))
.toList();
}