updateState method

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

Implementation

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