AutoUpdateSettings constructor

const AutoUpdateSettings({
  1. bool isAutoUpdateForRoadMapEnabled = true,
  2. bool isAutoUpdateForViewStyleHighResEnabled = true,
  3. bool isAutoUpdateForViewStyleLowResEnabled = true,
  4. bool isAutoUpdateForHumanVoiceEnabled = false,
  5. bool isAutoUpdateForComputerVoiceEnabled = false,
  6. bool isAutoUpdateForCarModelEnabled = false,
  7. bool isAutoUpdateForResourcesEnabled = true,
  8. void onAutoUpdateComplete(
    1. ContentType type,
    2. GemError error
    )?,
})

Constructor for initializing the auto-update settings with default values.

Implementation

const AutoUpdateSettings({
  this.isAutoUpdateForRoadMapEnabled = true,
  this.isAutoUpdateForViewStyleHighResEnabled = true,
  this.isAutoUpdateForViewStyleLowResEnabled = true,
  this.isAutoUpdateForHumanVoiceEnabled = false,
  this.isAutoUpdateForComputerVoiceEnabled = false,
  this.isAutoUpdateForCarModelEnabled = false,
  this.isAutoUpdateForResourcesEnabled = true,
  this.onAutoUpdateComplete,
});