setKeepSecondary method

void setKeepSecondary(
  1. bool? value, [
  2. bool notify = true
])

Implementation

void setKeepSecondary(bool? value, [bool notify = true]) {
  if (value == null) return;
  if (value == _keepSecondary) return;
  _keepSecondary = value;
  if (notify) notifyListeners();
  unawaited(_themeService.save(Store.keyKeepSecondary, value));
}