CookieListItem constructor

CookieListItem({
  1. String? name,
  2. String? value,
  3. String? domain,
  4. String? path,
  5. int? expires,
  6. bool? secure,
  7. CookieSameSite? sameSite,
})

Implementation

factory CookieListItem(
        {String? name,
        String? value,
        String? domain,
        String? path,
        int? expires,
        bool? secure,
        CookieSameSite? sameSite}) =>
    CookieListItem._(
        name: name ?? undefined,
        value: value ?? undefined,
        domain: domain ?? undefined,
        path: path ?? undefined,
        expires: expires ?? undefined,
        secure: secure ?? undefined,
        sameSite: sameSite?.value ?? undefined);