BackgroundLocationConfig constructor

const BackgroundLocationConfig({
  1. int intervalMinutes = 1,
  2. LocationAccuracy accuracy = LocationAccuracy.high,
  3. String notificationChannelId = 'flutter_background_location_channel',
  4. String notificationTitle = 'Location tracking',
  5. String notificationBody = 'Recording your position.',
  6. int retentionDays = 0,
  7. int maxRecords = 0,
  8. String? databasePath,
})

Implementation

const BackgroundLocationConfig({
  this.intervalMinutes = 1,
  this.accuracy = LocationAccuracy.high,
  this.notificationChannelId = 'flutter_background_location_channel',
  this.notificationTitle = 'Location tracking',
  this.notificationBody = 'Recording your position.',
  this.retentionDays = 0,
  this.maxRecords = 0,
  this.databasePath,
});