get method
Retrieves information about a single cookie. If more than one cookie of the same name exists for the given URL, the one with the longest path will be returned. For cookies with the same path length, the cookie with the earliest creation time will be returned.
Implementation
Future<Cookie?> get(CookieDetails details) async {
var $res = await promiseToFuture<$js.Cookie?>(
$js.chrome.cookies.get(details.toJS));
return $res?.let(Cookie.fromJS);
}