all property Null safety

Stream<Cookie> all

Retrieve all cookies visible to the current page.

Implementation

Stream<Cookie> get all async* {
  final cookies = await _client.send(
      _handler.cookies.buildGetAllCookiesRequest(),
      _handler.cookies.parseGetAllCookiesResponse);
  for (var cookie in cookies) {
    yield cookie;
  }
}