setCookieControls method
Sets Controls for third-party cookie access
Page reload is required before the new cookie behavior will be observed
enableThirdPartyCookieRestriction Whether 3pc restriction is enabled.
Implementation
Future<void> setCookieControls(bool enableThirdPartyCookieRestriction) async {
await _client.send('Network.setCookieControls', {
'enableThirdPartyCookieRestriction': enableThirdPartyCookieRestriction,
});
}