HiveCookieManager class
- Implemented types
Constructors
-
HiveCookieManager.new(Box<
Map> _cookieBox) - Constructs a HiveCookieManager with the given Hive box.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- interceptor → Interceptor
-
Returns the first interceptor from the list of interceptors.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildUrlWithToken(
String url) → String -
Constructs a URL with an appended access token query parameter.
override
-
deleteAllCookies(
) → void -
Deletes all cookies stored in the Hive box.
override
-
deleteCookies(
Uri uri) → void -
Deletes all cookies for a specific URI.
override
-
getSingleCookie(
Uri uri, String name) → Cookie -
Retrieves a single cookie by its name for a specific URI.
override
-
loadCookies(
Uri uri) → List< Cookie> -
Loads cookies for a specific URI.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveCookies(
Uri uri, List< Cookie> cookies) → void -
Saves cookies for a specific URI.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
) → Future< HiveCookieManager> - Factory method to create and register a HiveCookieManager instance.