CookieOptions constructor

const CookieOptions({
  1. String path = '/',
  2. String? domain,
  3. DateTime? expires,
  4. int? maxAge,
  5. bool secure = false,
  6. bool httpOnly = true,
  7. SameSite? sameSite,
})

Implementation

const CookieOptions({
  this.path = '/',
  this.domain,
  this.expires,
  this.maxAge,
  this.secure = false,
  this.httpOnly = true,
  this.sameSite,
});