AutoUpdateSettings.allDisabled constructor
- void onAutoUpdateComplete(
- ContentType type,
- GemError error
Factory constructor to create an instance where all update options are disabled.
Implementation
factory AutoUpdateSettings.allDisabled({
void Function(ContentType type, GemError error)? onAutoUpdateComplete,
}) {
return AutoUpdateSettings(
isAutoUpdateForRoadMapEnabled: false,
isAutoUpdateForViewStyleHighResEnabled: false,
isAutoUpdateForViewStyleLowResEnabled: false,
isAutoUpdateForResourcesEnabled: false,
onAutoUpdateComplete: onAutoUpdateComplete,
);
}