MockBrowserCookieEnv class

In-memory mock implementation of BrowserCookieEnv for testing.

Implemented types

Constructors

MockBrowserCookieEnv()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isSupported → bool
Whether running in a browser environment that supports cookies.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCookie(String name) → String?
Read cookie by name.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCookie(String name, String value) → void
Set cookie value.
override
toString() → String
A string representation of this object.
inherited

Operators

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