CookieOptions class

Cookie options for Web SDK

Refer to the official documentation for Web more details: https://amplitude.com/docs/sdks/analytics/browser/browser-sdk-2#configure-the-sdk

Constructors

CookieOptions({String domain = '', int expiration = 365, String sameSite = 'Lax', bool secure = false, bool upgrade = true})

Properties

domain → String
final
expiration → int
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sameSite → String
final
secure → bool
final
upgrade → bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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