toJson method

Map<String, dynamic> toJson()

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,
};