SuperFCMConfig constructor
const
SuperFCMConfig({
- required String appId,
- bool shouldMonitorTokenChange = true,
- bool cacheOnOffline = true,
- Duration? maxCacheDuration,
- LogLevel logLevel = LogLevel.info,
- bool autoTrackSessions = true,
- Duration sessionBackgroundThreshold = const Duration(seconds: 30),
- 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),
});