set static method
Save a value to the session under the specified key
Implementation
static Future<void> set(String key, dynamic value, {Duration? ttl}) async {
// Get existing session data
final sessionId = CookieService.get('FLINTSESSID');
Map<String, dynamic> data =
await SessionManager.instance.getSession(sessionId) ?? {};
// Update or add key
data[key] = value;
// Save updated session (creates new session if needed)
await SessionManager.instance.createSession(_response.raw, data, ttl: ttl);
}