Cookie constructor

Cookie({
  1. required String name,
  2. required String value,
  3. required String domain,
  4. required String path,
  5. required num expires,
  6. required int size,
  7. required bool httpOnly,
  8. required bool secure,
  9. required bool session,
  10. CookieSameSite? sameSite,
  11. required CookiePriority priority,
  12. required CookieSourceScheme sourceScheme,
  13. required int sourcePort,
  14. CookiePartitionKey? partitionKey,
  15. bool? partitionKeyOpaque,
})

Implementation

Cookie(
    {required this.name,
    required this.value,
    required this.domain,
    required this.path,
    required this.expires,
    required this.size,
    required this.httpOnly,
    required this.secure,
    required this.session,
    this.sameSite,
    required this.priority,
    required this.sourceScheme,
    required this.sourcePort,
    this.partitionKey,
    this.partitionKeyOpaque});