ChromeCookies class

Properties

hashCode int
The hash code for this object.
no setterinherited
isAvailable bool
no setter
onChanged EventStream<OnChangedChangeInfo>
Fired when a cookie is set or removed. As a special case, note that updating a cookie's properties is implemented as a two step process: the cookie to be updated is first removed entirely, generating a notification with "cause" of "overwrite" . Afterwards, a new cookie is written with the updated values, generating a second notification with "cause" "explicit".
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(CookieDetails details) Future<Cookie?>
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.
getAll(GetAllDetails details) Future<List<Cookie>>
Retrieves all cookies from a single cookie store that match the given information. The cookies returned will be sorted, with those with the longest path first. If multiple cookies have the same path length, those with the earliest creation time will be first. This method only retrieves cookies for domains that the extension has host permissions to. details Information to filter the cookies being retrieved.
getAllCookieStores() Future<List<CookieStore>>
Lists all existing cookie stores.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(CookieDetails details) Future<RemoveCallbackDetails?>
Deletes a cookie by name.
set(SetDetails details) Future<Cookie?>
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist. details Details about the cookie being set.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited