SessionLifecycle constructor

const SessionLifecycle({
  1. Future<void> onSessionStart(
    1. SessionStartedEvent event
    )?,
  2. Future<void> onSessionEnd(
    1. SessionEndedEvent event
    )?,
  3. Future<void> onSessionPause(
    1. SessionPausedEvent event
    )?,
  4. Future<void> onSessionResume(
    1. SessionResumedEvent event
    )?,
})

Implementation

const SessionLifecycle({
  this.onSessionStart,
  this.onSessionEnd,
  this.onSessionPause,
  this.onSessionResume,
});