updateState method

  1. @override
Future<void> updateState(
  1. bool? newState
)
override

Implementation

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