AutoUpdateSettings.allEnabled constructor
- void onAutoUpdateComplete(
- ContentType type,
- GemError error
Factory constructor to create an instance where all update options are enabled.
Implementation
factory AutoUpdateSettings.allEnabled({
void Function(ContentType type, GemError error)? onAutoUpdateComplete,
}) {
return AutoUpdateSettings(
isAutoUpdateForHumanVoiceEnabled: true,
isAutoUpdateForComputerVoiceEnabled: true,
isAutoUpdateForCarModelEnabled: true,
onAutoUpdateComplete: onAutoUpdateComplete,
);
}