getCookie method Null safety

Future<Cookie> getCookie(
  1. String name
)

Retrieves cookie with the given name.

Implementation

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