DoxCookie constructor

DoxCookie(
  1. String key,
  2. String value, {
  3. bool encrypt = true,
  4. String? domain,
  5. String? path,
  6. bool httpOnly = false,
  7. bool secure = false,
  8. DateTime? expires,
  9. Duration maxAge = const Duration(hours: 1),
})

Implementation

DoxCookie(
  this.key,
  this.value, {
  this.encrypt = true,
  this.domain,
  this.path,
  this.httpOnly = false,
  this.secure = false,
  this.expires,
  this.maxAge = const Duration(hours: 1),
});