ForegroundTaskOptions constructor
const
ForegroundTaskOptions({})
Constructs an instance of ForegroundTaskOptions.
Implementation
const ForegroundTaskOptions({
this.interval = 5000,
this.isOnceEvent = false,
this.autoRunOnBoot = false,
this.allowWakeLock = true,
this.allowWifiLock = false,
});