CookieRestoreEntry constructor
const
CookieRestoreEntry({})
構造化データから Cookie 復元エントリを生成します。
name は Cookie 名です。
value は Cookie 値です。
domain は対象ドメインです。
path は対象パスです。
expires は有効期限です。
secure は Secure 属性の有無です。
httpOnly は HttpOnly 属性の有無です。
sameSite は SameSite 属性です。
hostOnly はホスト限定 Cookie かどうかです。
createdAt は Cookie の作成日時です。省略時は復元時刻が使用されます。
Implementation
const CookieRestoreEntry({
required this.name,
required this.value,
required this.domain,
this.path = '/',
this.expires,
this.secure = false,
this.httpOnly = false,
this.sameSite,
this.hostOnly = false,
this.createdAt,
});