CookieInit constructor
CookieInit({})
Implementation
factory CookieInit(
{required String name,
required String value,
int? expires,
String? domain,
String? path,
CookieSameSite? sameSite}) =>
CookieInit._(
name: name,
value: value,
expires: expires ?? undefined,
domain: domain ?? undefined,
path: path ?? '/',
sameSite: sameSite?.value ?? CookieSameSite.strict.value);