SessionConfig.fromMap constructor
Implementation
factory SessionConfig.fromMap(Map<String, dynamic> map) {
return SessionConfig(
driver: map['driver'] as String,
lifetime: map['lifetime'] as int,
expireOnClose: map['expire_on_close'] as bool,
encrypt: map['encrypt'] as bool,
path: map['path'] as String,
domain: map['domain'] as String?,
secure: map['secure'] as bool,
httpOnly: map['http_only'] as bool,
sameSite: map['same_site'] as String,
);
}