BackgroundConfig constructor
BackgroundConfig({
- String? notificationChannelId,
- String? notificationChannelName,
- String? notificationDescription,
- String? notificationChannelDescription,
- String? notificationIcon,
- String? notificationTitle,
- bool enableForegroundService = false,
- bool wakeLock = false,
- bool wifiLock = false,
- bool autoStartOnBoot = false,
- int intervalMs = 5000,
- bool keepAlive = true,
Implementation
BackgroundConfig({
this.notificationChannelId,
this.notificationChannelName,
this.notificationDescription,
this.notificationChannelDescription,
this.notificationIcon,
this.notificationTitle,
this.enableForegroundService = false,
this.wakeLock = false,
this.wifiLock = false,
this.autoStartOnBoot = false,
this.intervalMs = 5000,
this.keepAlive = true,
});