DoxCookie class

Constructors

DoxCookie.new(String key, String value, {bool encrypt = true, String? domain, String? path, bool httpOnly = false, bool secure = false, DateTime? expires, Duration maxAge = const Duration(hours: 1)})

Properties

domain String?
getter/setter pair
encrypt bool
final
expires DateTime?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
httpOnly bool
getter/setter pair
key String
final
maxAge Duration
getter/setter pair
path String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secure bool
getter/setter pair
value String
final

Methods

expire() String
set expire the cookie
get() String
get the cookie to response in http response
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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