toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'maxage': maxage,
    'expires': expires?.toIso8601String(),
    'path': path,
    'domain': domain,
    'samesite': samesite,
    'secure': secure,
  };
}