setToDarkSwapPrimaryAndContainer method
Implementation
void setToDarkSwapPrimaryAndContainer(bool? value, [bool notify = true]) {
if (value == null) return;
if (value == _toDarkSwapPrimaryAndContainer) return;
_toDarkSwapPrimaryAndContainer = value;
if (notify) notifyListeners();
unawaited(_themeService.save(Store.keyToDarkSwapPrimaryAndContainer, value));
}