toJson method
Converts Options to JSON representation
Implementation
Map<String, dynamic> toJson() => {
'path': path,
'domain': domain,
'maxAge': _maxAge,
'secure': secure,
'httpOnly': httpOnly,
'partitioned': partitioned,
'sameSite': sameSite?.name,
};