SuperFCMConfig constructor

const SuperFCMConfig({
  1. required String appId,
  2. bool shouldMonitorTokenChange = true,
  3. bool cacheOnOffline = true,
  4. Duration? maxCacheDuration,
  5. LogLevel logLevel = LogLevel.info,
  6. bool autoTrackSessions = true,
  7. Duration sessionBackgroundThreshold = const Duration(seconds: 30),
  8. Duration sessionInactivityThreshold = const Duration(minutes: 30),
})

Implementation

const SuperFCMConfig({
  required this.appId,
  this.shouldMonitorTokenChange = true,
  this.cacheOnOffline = true,
  this.maxCacheDuration,
  this.logLevel = LogLevel.info,
  this.autoTrackSessions = true,
  this.sessionBackgroundThreshold = const Duration(seconds: 30),
  this.sessionInactivityThreshold = const Duration(minutes: 30),
});