toMap method
Converts instance to a map.
Implementation
Map<String, dynamic> toMap() {
return {
"domain": domain,
"expiresDate": expiresDate,
"isHttpOnly": isHttpOnly,
"isSecure": isSecure,
"isSessionOnly": isSessionOnly,
"name": name,
"path": path,
"sameSite": sameSite?.toNativeValue(),
"value": value,
};
}