getCookie method Null safety

Cookie getCookie(
  1. String name
)

Retrieves cookie with the given name.

Implementation

Cookie getCookie(String name) => _client.send(
    _handler.cookies.buildGetCookieRequest(name),
    (response) => _handler.cookies.parseGetCookieResponse(response, name));