Cookie constructor

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

Implementation

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