Cookie constructor

Cookie({
  1. required String name,
  2. required String value,
  3. DateTime? expires,
  4. String path = '/',
  5. bool httpOnly = true,
  6. bool secure = false,
})

Implementation

Cookie({
  required this.name,
  required this.value,
  this.expires,
  this.path = '/',
  this.httpOnly = true,
  this.secure = false,
});