Options constructor

Options({
  1. String? path = '/',
  2. String? domain,
  3. int? maxAge,
  4. bool? secure,
  5. bool? httpOnly,
  6. bool? partitioned,
  7. SameSite? sameSite,
})

Constructor with named parameters and default values

Implementation

Options({
  this.path = '/',
  this.domain,
  int? maxAge,
  this.secure,
  this.httpOnly,
  this.partitioned,
  this.sameSite,
}) : _maxAge = maxAge;