onSessionEnd property
Fired when the session ends (graceful shutdown or timeout).
Implementation
final Future<void> Function(SessionEndedEvent event)? onSessionEnd;
Fired when the session ends (graceful shutdown or timeout).
final Future<void> Function(SessionEndedEvent event)? onSessionEnd;