@override Future<void> updateState(bool? newState) async { await _cacheApi.setBool(stateKey, newState); super.updateState(newState); }