add method Null safety

void add(
  1. Cookie cookie
)

Sets a cookie.

Implementation

void add(Cookie cookie) {
  _client.send(_handler.cookies.buildAddCookieRequest(cookie),
      _handler.cookies.parseAddCookieResponse);
}