serialize abstract method

String serialize(
  1. String name,
  2. String value, {
  3. DateTime? expires,
  4. int? maxAge,
  5. String? domain,
  6. String? path,
  7. bool? secure,
  8. bool? httpOnly,
  9. SameSite? sameSite,
  10. bool? partitioned,
  11. bool signed,
})

Serialize a cookie.

Implementation

String serialize(
  String name,
  String value, {
  DateTime? expires,
  int? maxAge,
  String? domain,
  String? path,
  bool? secure,
  bool? httpOnly,
  SameSite? sameSite,
  bool? partitioned,
  bool signed,
});