add method Null safety

Future<void> add(
  1. Cookie cookie
)

Sets a cookie.

Implementation

Future<void> add(Cookie cookie) => _client.send(
    _handler.cookies.buildAddCookieRequest(cookie),
    _handler.cookies.parseAddCookieResponse);