Cookie constructor

Cookie({
  1. required String name,
  2. required dynamic value,
  3. int? expiresDate,
  4. bool? isSessionOnly,
  5. String? domain,
  6. HTTPCookieSameSitePolicy? sameSite,
  7. bool? isSecure,
  8. bool? isHttpOnly,
  9. String? path,
})

Implementation

Cookie(
    {required this.name,
    required this.value,
    this.expiresDate,
    this.isSessionOnly,
    this.domain,
    this.sameSite,
    this.isSecure,
    this.isHttpOnly,
    this.path});